Searched refs:nnapi_settings (Results 1 – 4 of 4) sorted by relevance
54 const NNAPISettings* nnapi_settings = tflite_settings.nnapi_settings(); in NnapiPlugin() local55 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 …]
1424 std::unique_ptr<tflite::NNAPISettingsT> nnapi_settings; member1456 const tflite::NNAPISettings *nnapi_settings() const { in nnapi_settings() function1487 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()
269 ConvertNNAPISettings(settings.nnapi_settings(), builder), in ConvertTfliteSettings()
305 optional NNAPISettings nnapi_settings = 2; field