include-what-you-use for lite/core/api:api

PiperOrigin-RevId: 311817318
Change-Id: If003542599d8901465dcafc605fd4df1d0c65add
This commit is contained in:
Advait Jain 2020-05-15 15:59:38 -07:00 committed by TensorFlower Gardener
parent da27ac6878
commit 55b36215c8
5 changed files with 16 additions and 2 deletions

View File

@ -26,6 +26,7 @@ cc_library(
deps = [
"//tensorflow/lite/c:common",
"//tensorflow/lite/schema:schema_fbs",
"@flatbuffers//:runtime_cc",
],
)

View File

@ -15,10 +15,14 @@ limitations under the License.
#include "tensorflow/lite/core/api/flatbuffer_conversions.h"
#include <cstdlib>
#include <cstddef>
#include <cstdint>
#include <memory>
#include "flatbuffers/flatbuffers.h" // from @flatbuffers
#include "tensorflow/lite/c/builtin_op_data.h"
#include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/core/api/error_reporter.h"
#include "tensorflow/lite/schema/schema_generated.h"
namespace tflite {

View File

@ -19,9 +19,12 @@ limitations under the License.
// flatbuffer serialization format into in-memory values that are used by the
// runtime API and interpreter.
#include <cstddef>
#include <new>
#include <type_traits>
#include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/core/api/error_reporter.h"
#include "tensorflow/lite/core/api/op_resolver.h"
#include "tensorflow/lite/schema/schema_generated.h"
namespace tflite {

View File

@ -15,6 +15,10 @@ limitations under the License.
#include "tensorflow/lite/core/api/op_resolver.h"
#include "flatbuffers/flatbuffers.h" // from @flatbuffers
#include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/core/api/error_reporter.h"
namespace tflite {
TfLiteStatus GetRegistrationFromOpCode(

View File

@ -17,6 +17,8 @@ limitations under the License.
#include <string.h>
#include "tensorflow/lite/c/common.h"
namespace tflite {
TfLiteStatus ResetVariableTensor(TfLiteTensor* tensor) {