sima_ev_strided_desc Struct
Logical strided tensor view (rank + sizes + byte strides). More...
Declaration
Included Headers
Public Member Attributes Index
| uint32_t | rank |
|
Number of valid entries in sizes/strides. More... | |
| uint8_t | axis_semantics[SIMA_EV_MAX_RANK] |
|
Per-axis sima_ev_axis_semantic tags. More... | |
| uint8_t | reserved0[4] |
|
Padding to align the int64 arrays that follow. More... | |
| int64_t | sizes[SIMA_EV_MAX_RANK] |
|
Per-axis size, in elements. More... | |
| int64_t | strides_bytes[SIMA_EV_MAX_RANK] |
|
Per-axis stride, in bytes. More... | |
Description
Logical strided tensor view (rank + sizes + byte strides).
Intentionally close to PyTorch semantics: rank, sizes, and byte strides are authoritative. axis_semantics is advisory metadata for validation, debugging, and kernels that want explicit N/C/D/H/W naming.
Definition at line 153 of file EvTensorAbi.h.
Public Member Attributes
axis_semantics
|
Per-axis sima_ev_axis_semantic tags.
Definition at line 155 of file EvTensorAbi.h.
rank
|
Number of valid entries in sizes/strides.
Definition at line 154 of file EvTensorAbi.h.
reserved0
|
Padding to align the int64 arrays that follow.
Definition at line 156 of file EvTensorAbi.h.
sizes
|
Per-axis size, in elements.
Definition at line 157 of file EvTensorAbi.h.
strides_bytes
|
Per-axis stride, in bytes.
Definition at line 158 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.