STT-tensorflow/tensorflow/lite/create_op_resolver.h
Thai Nguyen 57f589f66c Selective build rule for C
Usage:
tflite_custom_c_library(
  name = "custom_c_api",
  models = ["model1", "model2"],
)
PiperOrigin-RevId: 347516727
Change-Id: Id9b6b0de9f720aa32351de2605dac73f6bb28d63
2020-12-14 19:04:03 -08:00

28 lines
950 B
C++

/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#ifndef TENSORFLOW_LITE_CREATE_OP_RESOLVER_H_
#define TENSORFLOW_LITE_CREATE_OP_RESOLVER_H_
#include <memory>
#include "tensorflow/lite/op_resolver.h"
namespace tflite {
std::unique_ptr<MutableOpResolver> CreateOpResolver();
}
#endif // TENSORFLOW_LITE_CREATE_OP_RESOLVER_H_