TfLitePtrUnion
#include <common.h>
A union of pointers that points to memory for a given tensor.
Summary
Do not access these members directly, if possible, use GetTensorData instead, otherwise only access .data, as other members are deprecated.
Public attributes | |
|---|---|
b | bool * |
c128 | |
c64 | |
data | void * Only use this member. |
f | float * |
f16 | |
f64 | double * |
i16 | int16_t * |
i32 | int32_t * |
i64 | int64_t * |
int8 | int8_t * |
raw | char * |
raw_const | const char * |
u32 | uint32_t * |
u64 | uint64_t * |
ui16 | uint16_t * |
uint8 | uint8_t * |
Public attributes
b
bool * b
c128
TfLiteComplex128 * c128
c64
TfLiteComplex64 * c64
data
void * data
Only use this member.
f
float * f
f16
TfLiteFloat16 * f16
f64
double * f64
i16
int16_t * i16
i32
int32_t * i32
i64
int64_t * i64
int8
int8_t * int8
raw
char * raw
raw_const
const char * raw_const
u32
uint32_t * u32
u64
uint64_t * u64
ui16
uint16_t * ui16
uint8
uint8_t * uint8