sima_ev_tensor_desc Struct
Full per-tensor descriptor: dtype, layout, storage, optional quant. More...
Declaration
Included Headers
Public Member Attributes Index
| uint32_t | dtype |
|
sima_ev_dtype value. More... | |
| uint32_t | logical_kind |
|
Always SIMA_EV_LAYOUT_STRIDED today. More... | |
| uint32_t | physical_kind |
|
sima_ev_layout_kind selecting physical. More... | |
| uint32_t | flags |
|
Tensor-specific flags. More... | |
| struct { ... } | storage |
|
Backing storage region. More... | |
| struct { ... } | logical |
|
Logical view (rank/sizes/strides). More... | |
| struct { ... } | strided |
|
Physical view, when STRIDED. More... | |
| struct { ... } | tiled |
|
Physical view, when TILED. More... | |
| union sima_ev_tensor_desc | physical |
|
Physical view (selected by physical_kind). More... | |
| struct { ... } | quant |
|
Optional quantization metadata. More... | |
Description
Full per-tensor descriptor: dtype, layout, storage, optional quant.
Carries both the logical (always strided) and physical (strided or tiled) views of a tensor along with its backing storage and optional quantization metadata. The physical union is selected by physical_kind.
Definition at line 213 of file EvTensorAbi.h.
Public Member Attributes
dtype
|
flags
|
logical
|
Logical view (rank/sizes/strides).
Definition at line 219 of file EvTensorAbi.h.
logical_kind
|
Always SIMA_EV_LAYOUT_STRIDED today.
Definition at line 215 of file EvTensorAbi.h.
physical
|
Physical view (selected by physical_kind).
Definition at line 223 of file EvTensorAbi.h.
physical_kind
|
sima_ev_layout_kind selecting physical.
Definition at line 216 of file EvTensorAbi.h.
quant
|
Optional quantization metadata.
Definition at line 224 of file EvTensorAbi.h.
storage
|
Backing storage region.
Definition at line 218 of file EvTensorAbi.h.
strided
|
Physical view, when STRIDED.
Definition at line 221 of file EvTensorAbi.h.
tiled
|
Physical view, when TILED.
Definition at line 222 of file EvTensorAbi.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.