TensorData
Models & Types · AiDotNet.ComputerVision.Weights
Represents tensor data extracted from a weight file.
Constructors
| Constructor | Summary |
|---|---|
TensorData() |
Properties
| Property | Summary |
|---|---|
byte[] Data { get; set; } |
The raw byte data of the tensor. |
int[] Shape { get; set; } |
The shape of the tensor. |
int[] Stride { get; set; } |
The tensor’s strides within its storage, in elements (empty: contiguous). |
long StorageOffset { get; set; } |
The tensor’s first element within its storage, in elements. |
string DType { get; set; } |
The data type of the tensor. |
string StorageKey { get; set; } |
The key of the storage the tensor views (PyTorch archives keep one file per storage). |