tflite
\file Memory management for TF Lite.
Summary
\file Deserialization infrastructure for tflite.
\file Provides functionality to construct an interpreter for a model.
\file Main abstraction controlling the tflite interpreter.
\file This provides a few C++ helpers that are useful for manipulating C structures in C++.
Do NOT include this file directly, instead include third_party/tensorflow/lite/interpreter.h See third_party/tensorflow/lite/c/common.h for the API for defining operations (TfLiteRegistration).
Provides functionality to go from a serialized tflite model in flatbuffer format to an in-memory representation of the model.
Functions |
|
---|---|
DefaultErrorReporter()
|
|
GetRegistrationFromOpCode(const OperatorCode *opcode, const OpResolver & op_resolver, ErrorReporter *error_reporter, const TfLiteRegistration **registration)
|
TfLiteStatus
|
Classes |
|
---|---|
tflite:: |
A memory allocation handle. This could be a mmap or shared memory. |
tflite:: |
A functor that reports error to supporting system. |
tflite:: |
|
tflite:: |
An RAII object that represents a read-only tflite model, copied from disk, or mmapped. |
tflite:: |
An interpreter for a graph of nodes that input and output from tensors. |
tflite:: |
Build an interpreter capable of interpreting |
tflite:: |
Note that not all platforms support MMAP-based allocation. |
tflite:: |
|
tflite:: |
An OpResolver that is mutable, also used as the op in gen_op_registration. |
tflite:: |
Abstract interface that returns TfLiteRegistrations given op codes or custom op names. |
tflite:: |
Provides a range iterable wrapper for TfLiteIntArray* (C lists) that TfLite C api uses. |
Structs |
|
---|---|
tflite:: |
Namespaces |
|
---|---|
tflite:: |
|
tflite:: |
|
tflite:: |
Functions
DefaultErrorReporter
ErrorReporter * DefaultErrorReporter()
GetRegistrationFromOpCode
TfLiteStatus GetRegistrationFromOpCode( const OperatorCode *opcode, const OpResolver & op_resolver, ErrorReporter *error_reporter, const TfLiteRegistration **registration )