const and non-const sub tensors in the appropriate address space More...
#include <TTL_int_ext_typed_tensors.h>
Data Fields | ||
TTL_int_short_tensor_t | tensor | |
struct { | ||
TTL_shape_t shape | ||
TTL_offset_t sub_offset | ||
} | origin | |
const and non-const sub tensors in the appropriate address space
Use of macros to ensure that structs are EXACTLY the same, along for the compiler to remove duplication and potentially a TTL_int_tensor_t to be safely case to a TTL_const_int_tensor_t.
Do not add a cast for TTL_const_int_tensor_t to TTL_int_tensor_t because that is not safe.
Definition at line 11677 of file TTL_int_ext_typed_tensors.h.
struct { ... } TTL_int_short_sub_tensor_t::origin |
TTL_shape_t TTL_int_short_sub_tensor_t::shape |
The shape of the origin tensor in 3 dimensions
Definition at line 11690 of file TTL_int_ext_typed_tensors.h.
TTL_offset_t TTL_int_short_sub_tensor_t::sub_offset |
The offset of the sub tensor from the origin sensor
Definition at line 11691 of file TTL_int_ext_typed_tensors.h.
TTL_int_short_tensor_t TTL_int_short_sub_tensor_t::tensor |
Definition at line 11688 of file TTL_int_ext_typed_tensors.h.