Class TensorTypeAndShape
Represents tensor element type and its shapes
Inheritance
System.Object
TensorTypeAndShape
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public class TensorTypeAndShape : object
Properties
| Improve this Doc View SourceDimensions
Shape
Declaration
public int[] Dimensions { get; }
Property Value
Type | Description |
---|---|
System.Int32[] | Array of dimensions |
ElementDataType
Tensor Element type
Declaration
public TensorElementType ElementDataType { get; }
Property Value
Type | Description |
---|---|
TensorElementType | TensorElementType enum |
ElementTypeInfo
Tensor element metadata
Declaration
public TensorElementTypeInfo ElementTypeInfo { get; }
Property Value
Type | Description |
---|---|
TensorElementTypeInfo |
SymbolicDimensions
Symbolic dimensions
Declaration
public string[] SymbolicDimensions { get; }
Property Value
Type | Description |
---|---|
System.String[] | Array of symbolic dimensions if present. |