Light-weight tensor struct for TF Micro runtime.
struct TfLiteEvalTensorLight-weight tensor struct for TF Micro runtime. Provides the minimal amount of information required for a kernel to run during TfLiteRegistration::Eval. TODO(b/160955687): Move this field into TF_LITE_STATIC_MEMORY when TFLM builds with this flag by default internally.
data
C++A union of data pointers.
TfLitePtrUnion dataA union of data pointers. The appropriate type should be used for a typed tensor based on type.
dims
C++A pointer to a structure representing the dimensionality interpretation that the buffer should have.
TfLiteIntArray * dimsA pointer to a structure representing the dimensionality interpretation that the buffer should have.
type
C++The data type specification for data stored in data.
TfLiteType typeThe data type specification for data stored in data. This affects what member of data union should be used.