tensorflow/lite/g3doc/api_docs/c/union/tf-lite-ptr-union.html
#include <common.h>
A union of pointers that points to memory for a given tensor.
Do not access these members directly, if possible, use GetTensorData(tensor) instead, otherwise only access .data, as other members are deprecated.
|
|
| --- |
| b |
bool *
|
| c128 |
TfLiteComplex128 *
|
| c64 |
TfLiteComplex64 *
|
| data |
void *
Only use this member.
|
| f |
float *
|
| f16 |
TfLiteFloat16 *
|
| 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 *
|
bool * b
[TfLiteComplex128](/lite/api_docs/c/struct/tf-lite-complex128.html#struct_tf_lite_complex128)* c128
[TfLiteComplex64](/lite/api_docs/c/struct/tf-lite-complex64.html#struct_tf_lite_complex64)* c64
void * data
Only use this member.
float * f
[TfLiteFloat16](/lite/api_docs/c/struct/tf-lite-float16.html#struct_tf_lite_float16)* f16
double * f64
int16_t * i16
int32_t * i32
int64_t * i64
int8_t * int8
char * raw
const char * raw_const
uint32_t * u32
uint64_t * u64
uint16_t * ui16
uint8_t * uint8