This directory contains the "core" part of the TensorFlow Lite runtime library.
The header files in this tensorflow/lite/core/ directory fall into several
categories.
-
Public API headers, in the
apisubdirectorytensorflow/lite/core/api/These are in addition to the other public API headers in
tensorflow/lite/.For example:
tensorflow/lite/core/api/error_reporter.htensorflow/lite/core/api/op_resolver.h
-
Private headers that define public API types and functions. These headers are each
#included from a corresponding public "shim" header intensorflow/lite/that forwards to the private header.For example:
tensorflow/lite/core/interpreter.his a private header file that is included from the public "shim" header filetensorflow/lite/interpeter.h.
These private header files should be used as follows:
#includes from.ccfiles in TF Lite itself that are implementing the TF Lite APIs should include the "core" TF Lite API headers.#includes from files that are just using the regular TF Lite APIs should include the regular public headers. -
The header file
tensorflow/lite/core/subgraph.h. This contains some experimental APIs.