Class TensorElementTypeInfo
Holds TensorElement traits
Inherited Members
Namespace: Microsoft.ML.OnnxRuntime.Tensors
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public class TensorElementTypeInfo
Constructors
| Improve this Doc View SourceTensorElementTypeInfo(Type, int)
Ctor
Declaration
public TensorElementTypeInfo(Type type, int typeSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | Tensor element type |
| int | typeSize | typesize |
Properties
| Improve this Doc View SourceIsString
Is the type is a string
Declaration
public bool IsString { get; }
Property Value
| Type | Description |
|---|---|
| bool | true if Tensor element type is a string |
TensorType
Tensor element type
Declaration
public Type TensorType { get; }
Property Value
| Type | Description |
|---|---|
| Type | System.Type |
TypeSize
Size of the stored primitive type in bytes
Declaration
public int TypeSize { get; }
Property Value
| Type | Description |
|---|---|
| int | size in bytes |