TensorFlow Lite C API Reference

Structs

TfLiteAffineQuantization Parameters for asymmetric quantization across a dimension (i.e per output channel quantization).
TfLiteComplex128 Double-precision complex data type compatible with the C99 definition.
TfLiteComplex64 Single-precision complex data type compatible with the C99 definition.
TfLiteContext TfLiteContext allows an op to access the tensors.
TfLiteCustomAllocation Defines a custom memory allocation not owned by the runtime.
TfLiteDelegate WARNING: This is an experimental interface that is subject to change.
TfLiteDelegateParams WARNING: This is an experimental interface that is subject to change.
TfLiteDelegatePlugin Struct to hold all the methods for a delegate plugin.
TfLiteDimensionMetadata Metadata to encode each dimension in a sparse tensor.
TfLiteEvalTensor Light-weight tensor struct for TF Micro runtime.
TfLiteExternalContext An external context is a collection of information unrelated to the TF Lite framework, but useful to a subset of the ops.
TfLiteFloat16 Half precision data type compatible with the C99 definition.
TfLiteFloatArray Fixed size list of floats. Used for per-channel quantization.
TfLiteIntArray Fixed size list of integers.
TfLiteNode A structure representing an instance of a node.
TfLiteOpaqueDelegateBuilder TfLiteOpaqueDelegateBuilder is used for constructing TfLiteOpaqueDelegate, see TfLiteOpaqueDelegateCreate in c_api_opaque.h.
TfLiteOpaqueDelegateParams WARNING: This is an experimental interface that is subject to change.
TfLiteQuantization Structure specifying the quantization used by the tensor, if-any.
TfLiteQuantizationParams Legacy.
TfLiteRegistration TfLiteRegistration defines the implementation of an operation (a built-in op, custom op, or custom delegate kernel).
TfLiteRegistration_V1 \private Old version of TfLiteRegistration to maintain binary backward compatibility.
TfLiteRegistration_V2 \private Old version of TfLiteRegistration to maintain binary backward compatibility.
TfLiteRegistration_V3 \private Old version of TfLiteRegistration to maintain binary backward compatibility.
TfLiteSparsity Parameters used to encode a sparse tensor.
TfLiteTensor A tensor in the interpreter system which is a wrapper around a buffer of data including a dimensionality (or NULL if not currently defined).

Unions

TfLitePtrUnion A union of pointers that points to memory for a given tensor.