tflite

\file Main abstraction controlling the tflite interpreter.

Summary

\file Deserialization infrastructure for tflite.

\file Provides functionality to construct an interpreter for a model.

See context.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

GetRegistrationFromOpCode(const OperatorCode *opcode, const OpResolver & op_resolver, ErrorReporter *error_reporter, const TfLiteRegistration **registration)
TfLiteStatus

Classes

tflite::ErrorReporter

A functor that reports error to supporting system.

tflite::FlatBufferModel

An RAII object that represents a read-only tflite model, copied from disk, or mmapped.

tflite::Interpreter

An interpreter for a graph of nodes that input and output from tensors.

tflite::InterpreterBuilder

Build an interpreter capable of interpreting model.

tflite::InterpreterOptions

Options class for Interpreter.

tflite::OpResolver

Abstract interface that returns TfLiteRegistrations given op codes or custom op names.

Namespaces

tflite::delegates
tflite::interpreter_wrapper

Functions

GetRegistrationFromOpCode

TfLiteStatus GetRegistrationFromOpCode(
  const OperatorCode *opcode,
  const OpResolver & op_resolver,
  ErrorReporter *error_reporter,
  const TfLiteRegistration **registration
)