Class ONNXTensorInfo
- Namespace
- AiDotNet.ModelLoading
- Assembly
- AiDotNet.dll
Information about a tensor in an ONNX file.
public class ONNXTensorInfo
- Inheritance
-
ONNXTensorInfo
- Inherited Members
Properties
DataType
Data type name (e.g., "FLOAT", "FLOAT16").
public string DataType { get; set; }
Property Value
ElementCount
Total number of elements.
public long ElementCount { get; set; }
Property Value
Name
Name of the tensor.
public string Name { get; set; }
Property Value
Shape
Shape of the tensor.
public int[] Shape { get; set; }
Property Value
- int[]
Methods
ToString()
Gets a string representation.
public override string ToString()