/external/tensorflow/tensorflow/lite/ |
D | model_builder.cc | 57 std::unique_ptr<FlatBufferModel> FlatBufferModel::BuildFromFile( in BuildFromFile() 64 std::unique_ptr<FlatBufferModel> FlatBufferModel::VerifyAndBuildFromFile( in VerifyAndBuildFromFile() 74 std::unique_ptr<FlatBufferModel> FlatBufferModel::BuildFromBuffer( in BuildFromBuffer() 83 std::unique_ptr<FlatBufferModel> FlatBufferModel::VerifyAndBuildFromBuffer( in VerifyAndBuildFromBuffer() 93 std::unique_ptr<FlatBufferModel> FlatBufferModel::BuildFromAllocation( in BuildFromAllocation() 95 std::unique_ptr<FlatBufferModel> model(new FlatBufferModel( in BuildFromAllocation() 103 std::unique_ptr<FlatBufferModel> FlatBufferModel::VerifyAndBuildFromAllocation( in VerifyAndBuildFromAllocation() 131 std::unique_ptr<FlatBufferModel> FlatBufferModel::BuildFromModel( in BuildFromModel() 136 std::unique_ptr<FlatBufferModel> model( in BuildFromModel() 137 new FlatBufferModel(caller_owned_model_spec, error_reporter)); in BuildFromModel() [all …]
|
D | model_builder.h | 68 class FlatBufferModel { 74 static std::unique_ptr<FlatBufferModel> BuildFromFile( 87 static std::unique_ptr<FlatBufferModel> VerifyAndBuildFromFile( 99 static std::unique_ptr<FlatBufferModel> BuildFromBuffer( 113 static std::unique_ptr<FlatBufferModel> VerifyAndBuildFromBuffer( 123 static std::unique_ptr<FlatBufferModel> BuildFromAllocation( 137 static std::unique_ptr<FlatBufferModel> VerifyAndBuildFromAllocation( 147 static std::unique_ptr<FlatBufferModel> BuildFromModel( 152 ~FlatBufferModel(); 155 FlatBufferModel(const FlatBufferModel&) = delete; [all …]
|
D | model_test.cc | 88 ASSERT_TRUE(!FlatBufferModel::BuildFromFile("/tmp/tflite_model_1234")); in TEST() 114 FlatBufferModel::BuildFromBuffer(aligned, empty_model_data.size())); in TEST() 122 FlatBufferModel::BuildFromBuffer(unaligned, empty_model_data.size())); in TEST() 125 FlatBufferModel::BuildFromBuffer(unaligned, empty_model_data.size())); in TEST() 131 auto model = FlatBufferModel::BuildFromFile( in TEST() 142 auto model = FlatBufferModel::BuildFromFile( in TEST() 152 auto m = FlatBufferModel::BuildFromFile( in TEST() 160 auto m = FlatBufferModel::BuildFromFile( in TEST() 169 auto m = FlatBufferModel::BuildFromFile( in TEST() 182 auto model = FlatBufferModel::BuildFromFile( in TEST() [all …]
|
D | model_xnnpack_test.cc | 33 auto model = FlatBufferModel::BuildFromFile( in TEST() 59 auto model = FlatBufferModel::BuildFromFile( in TEST()
|
D | optional_debug_tools_test.cc | 40 auto model = FlatBufferModel::BuildFromFile( in TEST() 66 auto model = FlatBufferModel::BuildFromFile( in TEST()
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib_test.cc | 133 std::unique_ptr<FlatBufferModel> model = in TEST_P() 134 FlatBufferModel::BuildFromFile(test_file.c_str()); in TEST_P() 181 std::unique_ptr<FlatBufferModel> model = in TEST_P() 182 FlatBufferModel::BuildFromFile(test_file.c_str()); in TEST_P() 276 std::unique_ptr<FlatBufferModel> model = in TEST_P() 277 FlatBufferModel::BuildFromFile(test_file.c_str()); in TEST_P() 307 std::unique_ptr<FlatBufferModel> model = in TEST_P() 308 FlatBufferModel::BuildFromFile(test_file.c_str()); in TEST_P() 336 std::unique_ptr<FlatBufferModel> model = in TEST_P() 337 FlatBufferModel::BuildFromFile(test_file.c_str()); in TEST_P() [all …]
|
D | writer_test.cc | 33 std::unique_ptr<tflite::FlatBufferModel> model = in main() 34 tflite::FlatBufferModel::BuildFromFile(argv[1]); in main() 46 model = tflite::FlatBufferModel::BuildFromBuffer( in main()
|
D | writer.cc | 32 std::unique_ptr<tflite::FlatBufferModel> model = in main() 33 tflite::FlatBufferModel::BuildFromFile(argv[1]); in main()
|
/external/libtextclassifier/native/utils/ |
D | tflite-model-executor.h | 46 std::unique_ptr<const tflite::FlatBufferModel> TfLiteModelFromModelSpec( 48 std::unique_ptr<const tflite::FlatBufferModel> TfLiteModelFromBuffer( 145 std::unique_ptr<const tflite::FlatBufferModel> model); 146 TfLiteModelExecutor(std::unique_ptr<const tflite::FlatBufferModel> model, 149 std::unique_ptr<const tflite::FlatBufferModel> model_;
|
D | tflite-model-executor.cc | 332 std::unique_ptr<const tflite::FlatBufferModel> TfLiteModelFromModelSpec( in TfLiteModelFromModelSpec() 334 std::unique_ptr<const tflite::FlatBufferModel> model( in TfLiteModelFromModelSpec() 335 tflite::FlatBufferModel::BuildFromModel(model_spec)); in TfLiteModelFromModelSpec() 343 std::unique_ptr<const tflite::FlatBufferModel> TfLiteModelFromBuffer( in TfLiteModelFromBuffer() 356 std::unique_ptr<const tflite::FlatBufferModel> model) in TfLiteModelExecutor() 359 std::unique_ptr<const tflite::FlatBufferModel> model, in TfLiteModelExecutor()
|
/external/tensorflow/tensorflow/lite/tools/versioning/ |
D | gpu_compatibility_test.cc | 56 auto model = FlatBufferModel::BuildFromFile(full_path.data()); in TEST() 64 auto model = FlatBufferModel::BuildFromFile(full_path.data()); in TEST() 73 auto model = FlatBufferModel::BuildFromFile(full_path.data()); in TEST()
|
/external/tensorflow/tensorflow/lite/core/shims/cc/ |
D | model_builder.h | 23 using FlatBufferModel = ::tflite::FlatBufferModel; variable
|
/external/tensorflow/tensorflow/lite/python/optimize/ |
D | calibration_wrapper.h | 40 class FlatBufferModel; variable 116 std::unique_ptr<tflite::FlatBufferModel> model, 129 std::unique_ptr<tflite::FlatBufferModel> model_;
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/ |
D | model_loader.cc | 53 model_ = FlatBufferModel::VerifyAndBuildFromFile(model_path_.c_str()); in InitInternal() 71 model_ = FlatBufferModel::VerifyAndBuildFromAllocation(std::move(allocation)); in InitInternal() 102 model_ = FlatBufferModel::BuildFromModel(tflite::GetModel(model_buffer_)); in InitInternal()
|
D | model_loader.h | 41 const FlatBufferModel* GetModel() const { return model_.get(); } in GetModel() 51 std::unique_ptr<FlatBufferModel> model_;
|
/external/tensorflow/tensorflow/lite/tools/signature/ |
D | signature_def_util_wrapper_pybind11.cc | 27 auto flatbuffer_model = tflite::FlatBufferModel::BuildFromBuffer( in WrappedSetSignatureDefMap() 51 auto flatbuffer_model = tflite::FlatBufferModel::BuildFromBuffer( in WrappedGetSignatureDefMap() 72 auto flatbuffer_model = tflite::FlatBufferModel::BuildFromBuffer( in WrappedClearSignatureDefs()
|
/external/tensorflow/tensorflow/lite/examples/minimal/ |
D | minimal.cc | 45 std::unique_ptr<tflite::FlatBufferModel> model = in main() 46 tflite::FlatBufferModel::BuildFromFile(filename); in main()
|
/external/tensorflow/tensorflow/lite/tools/delegates/compatibility/common/ |
D | delegate_compatibility_checker_base.h | 46 tflite::FlatBufferModel* model_buffer, 54 tflite::FlatBufferModel* model_buffer,
|
D | delegate_compatibility_checker_base.cc | 34 tflite::FlatBufferModel* model_buffer, proto::CompatibilityResult* result) { in checkModelCompatibilityOffline() 55 tflite::FlatBufferModel* model_buffer, proto::CompatibilityResult* result) { in checkModelCompatibilityOnline()
|
/external/tensorflow/tensorflow/lite/testing/ |
D | selective_build_test.cc | 28 std::unique_ptr<tflite::FlatBufferModel> model = in RunWithRandomInputs() 29 tflite::FlatBufferModel::BuildFromFile(filename.c_str()); in RunWithRandomInputs()
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_weights_test.cc | 41 std::unique_ptr<FlatBufferModel> ReadTestModel() { in ReadTestModel() 44 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadTestModel() 47 std::unique_ptr<FlatBufferModel> ReadSharedWeightsTestModel() { in ReadSharedWeightsTestModel() 50 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadSharedWeightsTestModel() 53 std::unique_ptr<FlatBufferModel> ReadGatherTestModel() { in ReadGatherTestModel() 56 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadGatherTestModel() 59 std::unique_ptr<FlatBufferModel> ReadCustomOpTestModel() { in ReadCustomOpTestModel() 62 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadCustomOpTestModel() 94 std::unique_ptr<FlatBufferModel> input_model_;
|
/external/tensorflow/tensorflow/lite/c/ |
D | c_api_internal.h | 40 std::shared_ptr<const tflite::FlatBufferModel> impl; 116 std::shared_ptr<const tflite::FlatBufferModel> model;
|
D | c_api.cc | 57 auto model = tflite::FlatBufferModel::VerifyAndBuildFromBuffer( in TfLiteModelCreate() 59 std::shared_ptr<const tflite::FlatBufferModel> shared_model(model.release()); in TfLiteModelCreate() 64 auto model = tflite::FlatBufferModel::VerifyAndBuildFromFile(model_path); in TfLiteModelCreateFromFile() 65 std::shared_ptr<const tflite::FlatBufferModel> shared_model(model.release()); in TfLiteModelCreateFromFile()
|
/external/tflite-support/tensorflow_lite_support/custom_ops/ |
D | tflite_inference_main.cc | 45 std::unique_ptr<tflite::FlatBufferModel> model = in RunWithRandomInputs() 46 tflite::FlatBufferModel::BuildFromFile(filename.c_str()); in RunWithRandomInputs()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/ |
D | quantize_weights_test.cc | 51 std::unique_ptr<FlatBufferModel> ReadTestModel() { in ReadTestModel() 54 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadTestModel() 57 std::unique_ptr<FlatBufferModel> ReadSharedWeightsTestModel() { in ReadSharedWeightsTestModel() 60 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadSharedWeightsTestModel() 63 std::unique_ptr<FlatBufferModel> ReadGatherTestModel() { in ReadGatherTestModel() 66 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadGatherTestModel() 69 std::unique_ptr<FlatBufferModel> ReadCustomOpTestModel() { in ReadCustomOpTestModel() 72 return FlatBufferModel::BuildFromFile(model_path.c_str()); in ReadCustomOpTestModel() 104 std::unique_ptr<FlatBufferModel> input_model_;
|