TensorMetadata
Models & Types · AiDotNet.ModelLoading
Metadata about a tensor in a SafeTensors file.
Constructors
| Constructor |
Summary |
TensorMetadata() |
|
Properties
| Property |
Summary |
int[] Shape { get; set; } |
Shape of the tensor. |
long DataSizeBytes { get; set; } |
Size of the tensor data in bytes. |
long ElementCount { get; } |
Gets the total number of elements in the tensor. |
string DataType { get; set; } |
Data type (e.g., “F16”, “F32”, “BF16”). |
string Name { get; set; } |
Name of the tensor. |
Methods
| Method |
Summary |
string ToString() |
|