#include <stdint.h>
Enumerations Index
| enum | sima_ev_op_type { ... } |
|
|
|
| enum | sima_ev_dtype { ... } |
|
|
|
| enum | sima_ev_layout_kind { ... } |
|
|
|
| enum | sima_ev_run_target { ... } |
|
|
|
| enum | sima_ev_tiled_flags { ... } |
|
|
|
| enum | sima_ev_axis_semantic { ... } |
|
|
|
| enum | sima_ev_dense_tensor_format { ... } |
|
|
|
Functions Index
| struct | __attribute__ ((packed)) sima_ev_abi_header |
|
|
|
| static uint32_t | sima_ev_tensor_count (const struct sima_ev_abi_header *hdr) |
|
|
|
| static enum sima_ev_run_target | sima_ev_requested_run_target (const struct sima_ev_abi_header *hdr) |
|
|
|
| static const char * | sima_ev_run_target_name (enum sima_ev_run_target run_target) |
|
|
|
| static int | sima_ev_axis_index (const struct sima_ev_shape_desc *desc, enum sima_ev_axis_semantic axis) |
|
|
|
| static int64_t | sima_ev_axis_size (const struct sima_ev_shape_desc *desc, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
|
|
| static int64_t | sima_ev_axis_stride_bytes (const struct sima_ev_shape_desc *shape, const struct sima_ev_strided_layout_desc *layout, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
|
|
| static int64_t | sima_ev_tensor_axis_stride_bytes (const struct sima_ev_tensor_desc *desc, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
|
|
| static int64_t | sima_ev_tile_axis_size (const struct sima_ev_shape_desc *shape, const struct sima_ev_tiled_layout_desc *layout, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
|
|
| static int64_t | sima_ev_tensor_tile_axis_size (const struct sima_ev_tensor_desc *desc, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
|
|
| static int | sima_ev_elem_size_bytes (uint32_t dtype) |
|
|
|
| static enum sima_ev_dense_tensor_format | sima_ev_infer_dense_tensor_format (const struct sima_ev_tensor_desc *desc) |
|
|
|
| static int | sima_ev_tile_is_aligned (const struct sima_ev_tensor_desc *desc) |
|
|
|
| static int | sima_ev_tiled_uses_compact_channels (const struct sima_ev_tensor_desc *desc) |
|
|
|
| static int | sima_ev_tensor_is_contiguous (const struct sima_ev_tensor_desc *desc) |
|
|
|
Macro Definitions Index
Enumerations
sima_ev_axis_semantic
| enum sima_ev_axis_semantic |
|
- Enumeration values
-
| SIMA_EV_AXIS_UNKNOWN | (= 0) |
| SIMA_EV_AXIS_N | (= 1) |
| SIMA_EV_AXIS_D | (= 2) |
| SIMA_EV_AXIS_H | (= 3) |
| SIMA_EV_AXIS_W | (= 4) |
| SIMA_EV_AXIS_C | (= 5) |
Definition at line 54 of file ev_tensor_abi.h.
sima_ev_dense_tensor_format
| enum sima_ev_dense_tensor_format |
|
- Enumeration values
-
| SIMA_EV_DENSE_FORMAT_UNKNOWN | (= 0) |
| SIMA_EV_DENSE_FORMAT_NDHWC | (= 1) |
| SIMA_EV_DENSE_FORMAT_NDCHW | (= 2) |
Definition at line 63 of file ev_tensor_abi.h.
sima_ev_dtype
- Enumeration values
-
| SIMA_EV_DTYPE_INT8 | (= 0) |
| SIMA_EV_DTYPE_INT16 | (= 1) |
| SIMA_EV_DTYPE_BF16 | (= SIMA_EV_DTYPE_INT16) |
| SIMA_EV_DTYPE_INT32 | (= 2) |
| SIMA_EV_DTYPE_FP32 | (= 3) |
| SIMA_EV_DTYPE_FP16 | (= 4) |
Definition at line 28 of file ev_tensor_abi.h.
sima_ev_layout_kind
- Enumeration values
-
| SIMA_EV_LAYOUT_STRIDED | (= 0) |
| SIMA_EV_LAYOUT_TILED | (= 1) |
| SIMA_EV_LAYOUT_OPAQUE | (= 2) |
Definition at line 37 of file ev_tensor_abi.h.
sima_ev_op_type
- Enumeration values
-
| SIMA_EV_OP_INVALID | (= 0) |
| SIMA_EV_OP_TESSELLATE | (= 1) |
| SIMA_EV_OP_DETESSELLATE | (= 2) |
| SIMA_EV_OP_CAST | (= 3) |
| SIMA_EV_OP_CASTTESSELLATE | (= 4) |
| SIMA_EV_OP_DETESSELLATECAST | (= 5) |
| SIMA_EV_OP_QUANTIZE | (= 6) |
| SIMA_EV_OP_QUANTIZETESSELLATE | (= 7) |
| SIMA_EV_OP_DEQUANTIZE | (= 8) |
| SIMA_EV_OP_QUANTTESS | (= 9) |
| SIMA_EV_OP_DETESSDEQUANT | (= 10) |
Definition at line 14 of file ev_tensor_abi.h.
sima_ev_run_target
- Enumeration values
-
| SIMA_EV_RUN_AUTO | (= 0) |
| SIMA_EV_RUN_EV74 | (= 1) |
| SIMA_EV_RUN_A65 | (= 2) |
Definition at line 43 of file ev_tensor_abi.h.
sima_ev_tiled_flags
- Enumeration values
-
| SIMA_EV_TILED_FLAG_NONE | (= 0) |
| SIMA_EV_TILED_FLAG_COMPACT_CHANNELS | (= 1U << 0) |
Definition at line 49 of file ev_tensor_abi.h.
Functions
__attribute__()
| struct __attribute__ ((packed)) |
|
sima_ev_axis_index()
sima_ev_axis_size()
| int64_t sima_ev_axis_size (const struct sima_ev_shape_desc * desc, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
inline
static
|
sima_ev_axis_stride_bytes()
| int64_t sima_ev_axis_stride_bytes (const struct sima_ev_shape_desc * shape, const struct sima_ev_strided_layout_desc * layout, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
inline
static
|
sima_ev_elem_size_bytes()
| int sima_ev_elem_size_bytes (uint32_t dtype) |
|
inline
static
|
sima_ev_infer_dense_tensor_format()
| enum sima_ev_dense_tensor_format sima_ev_infer_dense_tensor_format (const struct sima_ev_tensor_desc * desc) |
|
inline
static
|
sima_ev_requested_run_target()
| enum sima_ev_run_target sima_ev_requested_run_target (const struct sima_ev_abi_header * hdr) |
|
inline
static
|
sima_ev_run_target_name()
sima_ev_tensor_axis_stride_bytes()
sima_ev_tensor_count()
sima_ev_tensor_is_contiguous()
sima_ev_tensor_tile_axis_size()
sima_ev_tile_axis_size()
| int64_t sima_ev_tile_axis_size (const struct sima_ev_shape_desc * shape, const struct sima_ev_tiled_layout_desc * layout, enum sima_ev_axis_semantic axis, int64_t fallback) |
|
inline
static
|
sima_ev_tile_is_aligned()
sima_ev_tiled_uses_compact_channels()
Macro Definitions
SIMA_EV_ABI_VERSION_V1
| #define SIMA_EV_ABI_VERSION_V1 1U |
|
SIMA_EV_MAX_RANK
| #define SIMA_EV_MAX_RANK 6U |
|
SIMA_EV_MAX_TENSORS
| #define SIMA_EV_MAX_TENSORS 32U |
|
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.