/external/libtextclassifier/utils/ |
D | tflite-model-executor.cc | 23 namespace tflite { namespace 61 void RegisterSelectedOps(tflite::MutableOpResolver* resolver) { in RegisterSelectedOps() 62 resolver->AddBuiltin(tflite::BuiltinOperator_ADD, in RegisterSelectedOps() 63 tflite::ops::builtin::Register_ADD(), in RegisterSelectedOps() 66 resolver->AddBuiltin(tflite::BuiltinOperator_CONCATENATION, in RegisterSelectedOps() 67 tflite::ops::builtin::Register_CONCATENATION(), in RegisterSelectedOps() 70 resolver->AddBuiltin(tflite::BuiltinOperator_CONV_2D, in RegisterSelectedOps() 71 tflite::ops::builtin::Register_CONV_2D(), in RegisterSelectedOps() 74 resolver->AddBuiltin(tflite::BuiltinOperator_FULLY_CONNECTED, in RegisterSelectedOps() 75 tflite::ops::builtin::Register_FULLY_CONNECTED(), in RegisterSelectedOps() [all …]
|
D | tflite-model-executor.h | 34 std::unique_ptr<tflite::OpResolver> BuildOpResolver(); 35 std::unique_ptr<const tflite::FlatBufferModel> TfLiteModelFromModelSpec( 36 const tflite::Model*); 37 std::unique_ptr<const tflite::FlatBufferModel> TfLiteModelFromBuffer( 44 const tflite::Model* model_spec) { in FromModelSpec() 65 std::unique_ptr<tflite::Interpreter> CreateInterpreter() const; 69 tflite::Interpreter* interpreter) const { in SetInput() 76 tflite::Interpreter* interpreter) const { in SetInput() 83 tflite::Interpreter* interpreter) const { in SetInput() 115 const tflite::Interpreter* interpreter) const { in OutputView() [all …]
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | types.cc | 20 namespace tflite { namespace 27 ::tflite::DynamicBuffer dyn_buffer; in CopyStringToBuffer() 59 void CopyStringFromBuffer(const ::tflite::Buffer& buffer, Array* array) { in CopyStringFromBuffer() 63 int32_t num_strings = ::tflite::GetStringCount(src_data); in CopyStringFromBuffer() 65 ::tflite::StringRef str_ref = ::tflite::GetString(src_data, i); in CopyStringFromBuffer() 72 void CopyBuffer(const ::tflite::Buffer& buffer, Array* array) { in CopyBuffer() 87 ::tflite::TensorType DataType::Serialize(ArrayDataType array_data_type) { in Serialize() 90 return ::tflite::TensorType_FLOAT32; in Serialize() 92 return ::tflite::TensorType_INT16; in Serialize() 94 return ::tflite::TensorType_INT32; in Serialize() [all …]
|
D | import_test.cc | 25 namespace tflite { namespace 40 Offset<Vector<Offset<::tflite::Buffer>>> BuildBuffers() { in BuildBuffers() 41 auto buf0 = ::tflite::CreateBuffer(builder_, CreateDataVector<float>({})); in BuildBuffers() 42 auto buf1 = ::tflite::CreateBuffer( in BuildBuffers() 45 ::tflite::CreateBuffer(builder_, CreateDataVector<float>({3.0f, 4.0f})); in BuildBuffers() 47 std::vector<Offset<::tflite::Buffer>>({buf0, buf1, buf2})); in BuildBuffers() 50 Offset<Vector<Offset<::tflite::Tensor>>> BuildTensors() { in BuildTensors() 51 auto q = ::tflite::CreateQuantizationParameters( in BuildTensors() 58 ::tflite::CreateTensor(builder_, builder_.CreateVector<int>({1, 2, 2}), in BuildTensors() 59 ::tflite::TensorType_FLOAT32, 1, in BuildTensors() [all …]
|
D | operator.cc | 36 namespace tflite { namespace 39 : public BuiltinOperator<AveragePoolOperator, ::tflite::Pool2DOptions, 40 ::tflite::BuiltinOptions_Pool2DOptions> { 50 return ::tflite::CreatePool2DOptions(*builder, padding, op.stride_width, in WriteOptions() 77 : public BuiltinOperator<ConvOperator, ::tflite::Conv2DOptions, 78 ::tflite::BuiltinOptions_Conv2DOptions> { 88 return ::tflite::CreateConv2DOptions(*builder, padding, op.stride_width, in WriteOptions() 131 ::tflite::DepthwiseConv2DOptions, 132 ::tflite::BuiltinOptions_DepthwiseConv2DOptions> { 142 return ::tflite::CreateDepthwiseConv2DOptions( in WriteOptions() [all …]
|
D | types_test.cc | 24 namespace tflite { namespace 36 static const ::tflite::TensorType kUnsupportedTfLiteTypes[] = { 37 ::tflite::TensorType_FLOAT16}; 60 buffer_builder.Finish(::tflite::CreateBuffer(buffer_builder, data_buffer)); in ToFlatBufferAndBack() 63 flatbuffers::GetRoot<::tflite::Tensor>(builder.GetBufferPointer()); in ToFlatBufferAndBack() 65 flatbuffers::GetRoot<::tflite::Buffer>(buffer_builder.GetBufferPointer()); in ToFlatBufferAndBack() 71 std::vector<std::pair<ArrayDataType, ::tflite::TensorType>> testdata = { in TEST() 72 {ArrayDataType::kUint8, ::tflite::TensorType_UINT8}, in TEST() 73 {ArrayDataType::kInt32, ::tflite::TensorType_INT32}, in TEST() 74 {ArrayDataType::kInt64, ::tflite::TensorType_INT64}, in TEST() [all …]
|
D | export_test.cc | 26 namespace tflite { namespace 159 auto* model = ::tflite::GetModel(result.data()); in ExportAndSummarizeOperators() 161 for (const ::tflite::OperatorCode* opcode : *model->operator_codes()) { in ExportAndSummarizeOperators() 162 if (opcode->builtin_code() != ::tflite::BuiltinOperator_CUSTOM) { in ExportAndSummarizeOperators() 163 names.push_back(string("builtin:") + ::tflite::EnumNameBuiltinOperator( in ExportAndSummarizeOperators() 179 auto* model = ::tflite::GetModel(result.data()); in ExportAndGetOperatorIndices() 207 0, operators[details::OperatorKey(::tflite::BuiltinOperator_ADD, "", 1)]); in TEST_F() 208 EXPECT_EQ(1, operators[details::OperatorKey(::tflite::BuiltinOperator_CONV_2D, in TEST_F() 210 EXPECT_EQ(2, operators[details::OperatorKey(::tflite::BuiltinOperator_CUSTOM, in TEST_F() 213 3, operators[details::OperatorKey(::tflite::BuiltinOperator_SUB, "", 1)]); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/ |
D | nnapi_delegate.cc | 31 namespace tflite { namespace 115 TfLiteStatus addTensorOperands(tflite::Subgraph* subgraph, in addTensorOperands() 215 tflite::Subgraph* subgraph, ANeuralNetworksModel* nn_model, in AddOpsAndParams() 224 tflite::BuiltinOperator builtin = in AddOpsAndParams() 225 static_cast<tflite::BuiltinOperator>(registration.builtin_code); in AddOpsAndParams() 423 case tflite::BuiltinOperator_ADD: in AddOpsAndParams() 427 case tflite::BuiltinOperator_MUL: in AddOpsAndParams() 431 case tflite::BuiltinOperator_AVERAGE_POOL_2D: in AddOpsAndParams() 435 case tflite::BuiltinOperator_MAX_POOL_2D: in AddOpsAndParams() 439 case tflite::BuiltinOperator_L2_POOL_2D: in AddOpsAndParams() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/ |
D | nnapi_delegate.cc | 32 namespace tflite { namespace 145 TfLiteStatus addTensorOperands(tflite::Interpreter* interpreter, in addTensorOperands() 247 tflite::Interpreter* interpreter, ANeuralNetworksModel* nn_model, in AddOpsAndParams() 255 tflite::BuiltinOperator builtin = in AddOpsAndParams() 256 static_cast<tflite::BuiltinOperator>(registration.builtin_code); in AddOpsAndParams() 452 case tflite::BuiltinOperator_ADD: in AddOpsAndParams() 456 case tflite::BuiltinOperator_MUL: in AddOpsAndParams() 460 case tflite::BuiltinOperator_AVERAGE_POOL_2D: in AddOpsAndParams() 464 case tflite::BuiltinOperator_MAX_POOL_2D: in AddOpsAndParams() 468 case tflite::BuiltinOperator_L2_POOL_2D: in AddOpsAndParams() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/ |
D | recognize_commands_test.cc | 24 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 25 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 56 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 57 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 76 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 77 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 81 TfLiteTensor results = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST() 82 {255, 0, 0, 0}, tflite::testing::IntArrayFromInitializer({2, 1, 4}), in TF_LITE_MICRO_TEST() 94 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 95 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() [all …]
|
/external/tensorflow/tensorflow/lite/g3doc/guide/ |
D | hosted_models.md | 26 Mobilenet_V1_0.25_128_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 27 Mobilenet_V1_0.25_160_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 28 Mobilenet_V1_0.25_192_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 29 Mobilenet_V1_0.25_224_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 30 Mobilenet_V1_0.50_128_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 31 Mobilenet_V1_0.50_160_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 32 Mobilenet_V1_0.50_192_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 33 Mobilenet_V1_0.50_224_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 34 Mobilenet_V1_0.75_128_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… 35 Mobilenet_V1_0.75_160_quant | [paper](https://arxiv.org/pdf/1712.05877.pdf), [tflite&pb](http://dow… [all …]
|
/external/tensorflow/tensorflow/lite/python/optimize/ |
D | calibration_wrapper.cc | 43 namespace tflite { namespace 50 std::unique_ptr<tflite::ModelT> CreateMutableModel(const tflite::Model& model) { in CreateMutableModel() 51 std::unique_ptr<tflite::ModelT> copied_model = in CreateMutableModel() 52 absl::make_unique<tflite::ModelT>(); in CreateMutableModel() 60 std::unique_ptr<tflite::Interpreter> interpreter, in CalibrationWrapper() 61 std::unique_ptr<tflite::ops::builtin::BuiltinOpResolver> resolver, in CalibrationWrapper() 62 std::unique_ptr<tflite::interpreter_wrapper::PythonErrorReporter> in CalibrationWrapper() 64 std::unique_ptr<tflite::FlatBufferModel> model, in CalibrationWrapper() 65 std::unique_ptr<tflite::optimize::calibration::CalibrationReader> reader) in CalibrationWrapper() 165 auto status = tflite::optimize::QuantizeModel(&builder, tflite_model.get(), in QuantizeModel() [all …]
|
D | calibration_wrapper.h | 30 namespace tflite { 68 std::unique_ptr<tflite::Interpreter> interpreter, 69 std::unique_ptr<tflite::ops::builtin::BuiltinOpResolver> resolver, 70 std::unique_ptr<tflite::interpreter_wrapper::PythonErrorReporter> 72 std::unique_ptr<tflite::FlatBufferModel> model, 73 std::unique_ptr<tflite::optimize::calibration::CalibrationReader> reader); 79 std::unique_ptr<tflite::Interpreter> interpreter_; 80 std::unique_ptr<tflite::interpreter_wrapper::PythonErrorReporter> 82 std::unique_ptr<tflite::ops::builtin::BuiltinOpResolver> resolver_; 83 std::unique_ptr<tflite::FlatBufferModel> model_; [all …]
|
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/ |
D | filterbank_test.cc | 51 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 52 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 63 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 64 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 75 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 76 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 93 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 94 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 111 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 112 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() [all …]
|
D | window_test.cc | 46 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 47 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 66 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 67 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 86 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 87 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 110 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 111 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() 127 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() 128 tflite::ErrorReporter* error_reporter = µ_error_reporter; in TF_LITE_MICRO_TEST() [all …]
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | nativeinterpreterwrapper_jni.cc | 19 tflite::Interpreter* convertLongToInterpreter(JNIEnv* env, jlong handle) { in convertLongToInterpreter() 25 return reinterpret_cast<tflite::Interpreter*>(handle); in convertLongToInterpreter() 28 tflite::FlatBufferModel* convertLongToModel(JNIEnv* env, jlong handle) { in convertLongToModel() 34 return reinterpret_cast<tflite::FlatBufferModel*>(handle); in convertLongToModel() 127 return tflite::VerifyModelBuffer(verifier); in VerifyModel() 136 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames() 158 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_allocateTensors() 176 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputTensorIndex() 184 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputTensorIndex() 193 tflite::Interpreter* interpreter = convertLongToInterpreter(env, handle); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputCount() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | mirror_pad_test.cc | 21 namespace tflite { namespace 32 const tflite::MirrorPadMode mode) { in BaseMirrorPadOpModel() 55 {TensorType_INT32, {}}, tflite::MirrorPadMode_REFLECT); in TEST() 65 {TensorType_INT32, {}}, tflite::MirrorPadMode_REFLECT); in TEST() 76 {TensorType_INT32, {}}, tflite::MirrorPadMode_REFLECT); in TEST() 87 {TensorType_INT32, {}}, tflite::MirrorPadMode_SYMMETRIC); in TEST() 98 {TensorType_INT32, {}}, tflite::MirrorPadMode_SYMMETRIC); in TEST() 109 {TensorType_INT32, {}}, tflite::MirrorPadMode_SYMMETRIC); in TEST() 121 {TensorType_INT32, {}}, tflite::MirrorPadMode_REFLECT); in TEST() 133 {TensorType_INT32, {}}, tflite::MirrorPadMode_SYMMETRIC); in TEST() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/micro/ |
D | simple_tensor_allocator_test.cc | 20 namespace tflite { namespace 101 tflite::SimpleTensorAllocator allocator(arena, arena_size); in TF_LITE_MICRO_TEST() 103 const tflite::Tensor* tensor = tflite::Create1dTensor(100); in TF_LITE_MICRO_TEST() 104 const flatbuffers::Vector<flatbuffers::Offset<tflite::Buffer>>* buffers = in TF_LITE_MICRO_TEST() 105 tflite::CreateBuffers(); in TF_LITE_MICRO_TEST() 122 tflite::SimpleTensorAllocator allocator(arena, arena_size); in TF_LITE_MICRO_TEST() 124 const tflite::Tensor* tensor = tflite::Create1dTensor(2000); in TF_LITE_MICRO_TEST() 125 const flatbuffers::Vector<flatbuffers::Offset<tflite::Buffer>>* buffers = in TF_LITE_MICRO_TEST() 126 tflite::CreateBuffers(); in TF_LITE_MICRO_TEST() 138 tflite::SimpleTensorAllocator allocator(arena, arena_size); in TF_LITE_MICRO_TEST() [all …]
|
D | micro_mutable_op_resolver_test.cc | 20 namespace tflite { namespace 44 using tflite::BuiltinOperator_CONV_2D; in TF_LITE_MICRO_TEST() 45 using tflite::BuiltinOperator_RELU; in TF_LITE_MICRO_TEST() 46 using tflite::MicroMutableOpResolver; in TF_LITE_MICRO_TEST() 47 using tflite::OpResolver; in TF_LITE_MICRO_TEST() 49 static TfLiteRegistration r = {tflite::MockInit, tflite::MockFree, in TF_LITE_MICRO_TEST() 50 tflite::MockPrepare, tflite::MockInvoke}; in TF_LITE_MICRO_TEST()
|
/external/tensorflow/tensorflow/lite/experimental/writer/ |
D | writer_test.cc | 33 std::unique_ptr<tflite::FlatBufferModel> model = in main() 34 tflite::FlatBufferModel::BuildFromFile(argv[1]); in main() 35 std::unique_ptr<tflite::Interpreter> interpreter; in main() 36 tflite::ops::builtin::BuiltinOpResolver builtin_op_resolver; in main() 37 tflite::InterpreterBuilder(*model, builtin_op_resolver)(&interpreter); in main() 38 tflite::InterpreterWriter writer(interpreter.get()); in main() 44 model = tflite::FlatBufferModel::BuildFromBuffer( in main() 46 tflite::InterpreterBuilder(*model, builtin_op_resolver)(&interpreter); in main()
|
D | writer.cc | 32 std::unique_ptr<tflite::FlatBufferModel> model = in main() 33 tflite::FlatBufferModel::BuildFromFile(argv[1]); in main() 34 std::unique_ptr<tflite::Interpreter> interpreter; in main() 35 tflite::ops::builtin::BuiltinOpResolver builtin_op_resolver; in main() 36 tflite::InterpreterBuilder(*model, builtin_op_resolver)(&interpreter); in main() 37 tflite::InterpreterWriter writer(interpreter.get()); in main()
|
/external/libtextclassifier/utils/tflite/ |
D | token_encoder_test.cc | 30 class TokenEncoderOpModel : public tflite::SingleOpModel { 74 input_num_tokens_ = AddInput(tflite::TensorType_INT32); in TokenEncoderOpModel() 75 input_length_ = AddInput(tflite::TensorType_INT32); in TokenEncoderOpModel() 76 input_output_maxlength_ = AddInput(tflite::TensorType_INT32); in TokenEncoderOpModel() 77 input_attributes_int32_ = AddInput(tflite::TensorType_INT32); in TokenEncoderOpModel() 78 input_attributes_float_ = AddInput(tflite::TensorType_FLOAT32); in TokenEncoderOpModel() 80 output_positions_ = AddOutput(tflite::TensorType_INT32); in TokenEncoderOpModel() 81 output_length_ = AddOutput(tflite::TensorType_INT32); in TokenEncoderOpModel() 82 output_attributes_int32_ = AddOutput(tflite::TensorType_INT32); in TokenEncoderOpModel() 83 output_attributes_float_ = AddOutput(tflite::TensorType_FLOAT32); in TokenEncoderOpModel() [all …]
|
D | text_encoder_test.cc | 38 class TextEncoderOpModel : public tflite::SingleOpModel { 87 input_string_ = AddInput(tflite::TensorType_STRING); in TextEncoderOpModel() 88 input_length_ = AddInput(tflite::TensorType_INT32); in TextEncoderOpModel() 89 input_output_maxlength_ = AddInput(tflite::TensorType_INT32); in TextEncoderOpModel() 90 input_attributes_int32_ = AddInput(tflite::TensorType_INT32); in TextEncoderOpModel() 91 input_attributes_float_ = AddInput(tflite::TensorType_FLOAT32); in TextEncoderOpModel() 93 output_encoding_ = AddOutput(tflite::TensorType_INT32); in TextEncoderOpModel() 94 output_positions_ = AddOutput(tflite::TensorType_INT32); in TextEncoderOpModel() 95 output_length_ = AddOutput(tflite::TensorType_INT32); in TextEncoderOpModel() 96 output_attributes_int32_ = AddOutput(tflite::TensorType_INT32); in TextEncoderOpModel() [all …]
|
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicDetector.java | 38 private Interpreter tflite; field in OvicDetector 64 tflite = new Interpreter(model, new Interpreter.Options().setNumThreads(1)); in OvicDetector() 65 inputDims = TestHelper.getInputDims(tflite, 0); in OvicDetector() 66 if (TestHelper.getInputDataType(tflite, 0).equals("float")) { in OvicDetector() 127 if (tflite == null) { in detectByteBuffer() 132 tflite.runForMultipleInputsOutputs(inputArray, outputMap); in detectByteBuffer() 160 if (tflite == null) { in getLastNativeInferenceLatencyMilliseconds() 163 Long latency = tflite.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceLatencyMilliseconds() 178 tflite.close(); in close() 179 tflite = null; in close()
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | interpreter_wrapper.h | 30 namespace tflite { 80 std::unique_ptr<tflite::FlatBufferModel> model, 85 std::unique_ptr<tflite::FlatBufferModel> model, 87 std::unique_ptr<tflite::ops::builtin::BuiltinOpResolver> resolver, 88 std::unique_ptr<tflite::Interpreter> interpreter); 98 const std::unique_ptr<tflite::FlatBufferModel> model_; 100 const std::unique_ptr<tflite::ops::builtin::BuiltinOpResolver> resolver_; 101 const std::unique_ptr<tflite::Interpreter> interpreter_;
|