Skip to main content

sima_ev_tensor_desc Struct

Full per-tensor descriptor: dtype, layout, storage, optional quant. More...

Declaration

struct sima_ev_tensor_desc { ... }

Included Headers

#include <EvTensorAbi.h>

Public Member Attributes Index

uint32_tdtype

sima_ev_dtype value. More...

uint32_tlogical_kind

Always SIMA_EV_LAYOUT_STRIDED today. More...

uint32_tphysical_kind

sima_ev_layout_kind selecting physical. More...

uint32_tflags

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_descphysical

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

uint32_t sima_ev_tensor_desc::dtype

sima_ev_dtype value.

Definition at line 214 of file EvTensorAbi.h.

214 uint32_t dtype;

flags

uint32_t sima_ev_tensor_desc::flags

Tensor-specific flags.

Definition at line 217 of file EvTensorAbi.h.

217 uint32_t flags;

logical

struct sima_ev_strided_desc sima_ev_tensor_desc::logical

Logical view (rank/sizes/strides).

Definition at line 219 of file EvTensorAbi.h.

logical_kind

uint32_t sima_ev_tensor_desc::logical_kind

Always SIMA_EV_LAYOUT_STRIDED today.

Definition at line 215 of file EvTensorAbi.h.

215 uint32_t logical_kind;

physical

union sima_ev_tensor_desc sima_ev_tensor_desc::physical

Physical view (selected by physical_kind).

Definition at line 223 of file EvTensorAbi.h.

physical_kind

uint32_t sima_ev_tensor_desc::physical_kind

sima_ev_layout_kind selecting physical.

Definition at line 216 of file EvTensorAbi.h.

216 uint32_t physical_kind;

quant

struct sima_ev_quant_desc sima_ev_tensor_desc::quant

Optional quantization metadata.

Definition at line 224 of file EvTensorAbi.h.

storage

struct sima_ev_storage_desc sima_ev_tensor_desc::storage

Backing storage region.

Definition at line 218 of file EvTensorAbi.h.

strided

struct sima_ev_strided_desc sima_ev_tensor_desc::strided

Physical view, when STRIDED.

Definition at line 221 of file EvTensorAbi.h.

221 struct sima_ev_strided_desc strided;

tiled

struct sima_ev_tiled_desc sima_ev_tensor_desc::tiled

Physical view, when TILED.

Definition at line 222 of file EvTensorAbi.h.

222 struct sima_ev_tiled_desc tiled;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.