Table of Contents

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

string

ElementCount

Total number of elements.

public long ElementCount { get; set; }

Property Value

long

Name

Name of the tensor.

public string Name { get; set; }

Property Value

string

Shape

Shape of the tensor.

public int[] Shape { get; set; }

Property Value

int[]

Methods

ToString()

Gets a string representation.

public override string ToString()

Returns

string