Searched refs:nnapi_settings (Results 1 – 12 of 12) sorted by relevance
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/ |
D | nnapi_plugin.h | 64 const NNAPISettings* nnapi_settings = tflite_settings.nnapi_settings(); in NnapiPlugin() local 65 if (!nnapi_settings) return; in NnapiPlugin() 66 if (nnapi_settings->accelerator_name() && in NnapiPlugin() 67 nnapi_settings->accelerator_name()->Length() != 0) { in NnapiPlugin() 68 accelerator_ = nnapi_settings->accelerator_name()->str(); in NnapiPlugin() 71 if (nnapi_settings->cache_directory() && in NnapiPlugin() 72 nnapi_settings->cache_directory()->Length() != 0) { in NnapiPlugin() 73 cache_dir_ = nnapi_settings->cache_directory()->str(); in NnapiPlugin() 76 if (nnapi_settings->model_token() && in NnapiPlugin() 77 nnapi_settings->model_token()->Length() != 0) { in NnapiPlugin() [all …]
|
D | flatbuffer_to_proto_test.cc | 47 settings_.tflite_settings->nnapi_settings = in CheckNNAPIExecutionPreference() 49 settings_.tflite_settings->nnapi_settings->execution_preference = input; in CheckNNAPIExecutionPreference() 53 compute.tflite_settings().nnapi_settings().execution_preference()); in CheckNNAPIExecutionPreference() 58 settings_.tflite_settings->nnapi_settings = in CheckNNAPIExecutionPriority() 60 settings_.tflite_settings->nnapi_settings->execution_priority = input; in CheckNNAPIExecutionPriority() 63 compute.tflite_settings().nnapi_settings().execution_priority()); in CheckNNAPIExecutionPriority() 109 settings_.tflite_settings->nnapi_settings = in TEST_F() 112 settings_.tflite_settings->nnapi_settings.get(); in TEST_F() 120 compute.tflite_settings().nnapi_settings(); in TEST_F() 135 output_settings = compute.tflite_settings().nnapi_settings(); in TEST_F() [all …]
|
D | nnapi_plugin_test.cc | 116 void CreateDelegate(flatbuffers::Offset<NNAPISettings> nnapi_settings) { in CreateDelegate() argument 119 CreateTFLiteSettings(fbb_, tflite::Delegate_NNAPI, nnapi_settings)); in CreateDelegate() 278 void CreateDelegate(flatbuffers::Offset<NNAPISettings> nnapi_settings, in CreateDelegate() argument 282 CreateTFLiteSettings(fbb_, tflite::Delegate_NNAPI, nnapi_settings, in CreateDelegate()
|
D | configuration_generated.h | 1983 std::unique_ptr<tflite::NNAPISettingsT> nnapi_settings{}; 2020 const tflite::NNAPISettings *nnapi_settings() const { in nnapi_settings() function 2057 verifier.VerifyTable(nnapi_settings()) && in Verify() 2090 void add_nnapi_settings(flatbuffers::Offset<tflite::NNAPISettings> nnapi_settings) { in add_nnapi_settings() 2091 fbb_.AddOffset(TFLiteSettings::VT_NNAPI_SETTINGS, nnapi_settings); in add_nnapi_settings() 2137 flatbuffers::Offset<tflite::NNAPISettings> nnapi_settings = 0, 2158 builder_.add_nnapi_settings(nnapi_settings); 3885 …((lhs.nnapi_settings == rhs.nnapi_settings) || (lhs.nnapi_settings && rhs.nnapi_settings && *lhs.n… 3905 … nnapi_settings((o.nnapi_settings) ? new tflite::NNAPISettingsT(*o.nnapi_settings) : nullptr), in TFLiteSettingsT() 3920 std::swap(nnapi_settings, o.nnapi_settings); [all …]
|
D | flatbuffer_to_proto.cc | 346 if (settings.nnapi_settings() != nullptr) { in ConvertTfliteSettings() 348 ConvertNNAPISettings(*settings.nnapi_settings()); in ConvertTfliteSettings()
|
D | proto_to_flatbuffer.cc | 345 ConvertNNAPISettings(settings.nnapi_settings(), builder), in ConvertTfliteSettings()
|
D | configuration.proto | 455 optional NNAPISettings nnapi_settings = 2; field
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/c/ |
D | nnapi_plugin_test.cc | 34 flatbuffers::Offset<NNAPISettings> nnapi_settings = in SetUp() local 39 tflite_settings_builder.add_nnapi_settings(nnapi_settings); in SetUp()
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/ |
D | validator_runner_entrypoint.cc | 50 if (tflite_settings.nnapi_settings && !nnapi_sl_path.empty()) { in RunValidator() 59 tflite_settings.nnapi_settings->support_library_handle = in RunValidator()
|
D | validator_runner_entrypoint_test.cc | 142 NNAPISettingsT nnapi_settings; in TEST_F() local 149 CreateNNAPISettings(fbb, &nnapi_settings)), in TEST_F()
|
D | mini_benchmark_implementation.cc | 465 setting_to_test->nnapi_settings() && in GetNnApiSlPointerIfPresent() 466 setting_to_test->nnapi_settings()->support_library_handle()) { in GetNnApiSlPointerIfPresent() 469 setting_to_test->nnapi_settings()->support_library_handle()); in GetNnApiSlPointerIfPresent()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/java/src/main/native/ |
D | nnapi_delegate_impl_jni.cc | 118 flatbuffers::Offset<NNAPISettings> nnapi_settings = in Java_org_tensorflow_lite_nnapi_NnApiDelegateImpl_createDelegate() local 121 tflite_settings_builder.add_nnapi_settings(nnapi_settings); in Java_org_tensorflow_lite_nnapi_NnApiDelegateImpl_createDelegate()
|