Home
last modified time | relevance | path

Searched refs:nnapi_settings (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin.h54 const NNAPISettings* nnapi_settings = tflite_settings.nnapi_settings(); in NnapiPlugin() local
55 if (!nnapi_settings) return; in NnapiPlugin()
56 if (nnapi_settings->accelerator_name() && in NnapiPlugin()
57 nnapi_settings->accelerator_name()->Length() != 0) { in NnapiPlugin()
58 accelerator_ = nnapi_settings->accelerator_name()->str(); in NnapiPlugin()
61 if (nnapi_settings->cache_directory() && in NnapiPlugin()
62 nnapi_settings->cache_directory()->Length() != 0) { in NnapiPlugin()
63 cache_dir_ = nnapi_settings->cache_directory()->str(); in NnapiPlugin()
66 if (nnapi_settings->model_token() && in NnapiPlugin()
67 nnapi_settings->model_token()->Length() != 0) { in NnapiPlugin()
[all …]
Dconfiguration_generated.h1424 std::unique_ptr<tflite::NNAPISettingsT> nnapi_settings; member
1456 const tflite::NNAPISettings *nnapi_settings() const { in nnapi_settings() function
1487 verifier.VerifyTable(nnapi_settings()) && in Verify()
1516 void add_nnapi_settings(flatbuffers::Offset<tflite::NNAPISettings> nnapi_settings) { in add_nnapi_settings()
1517 fbb_.AddOffset(TFLiteSettings::VT_NNAPI_SETTINGS, nnapi_settings); in add_nnapi_settings()
1558 flatbuffers::Offset<tflite::NNAPISettings> nnapi_settings = 0,
1576 builder_.add_nnapi_settings(nnapi_settings);
2474 …{ auto _e = nnapi_settings(); if (_e) _o->nnapi_settings = std::unique_ptr<tflite::NNAPISettingsT>… in UnPackTo()
2494 …auto _nnapi_settings = _o->nnapi_settings ? CreateNNAPISettings(_fbb, _o->nnapi_settings.get(), _r… in CreateTFLiteSettings()
Dproto_to_flatbuffer.cc269 ConvertNNAPISettings(settings.nnapi_settings(), builder), in ConvertTfliteSettings()
Dconfiguration.proto305 optional NNAPISettings nnapi_settings = 2; field