Home
last modified time | relevance | path

Searched refs:settings_to_test (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/
Dmini_benchmark_implementation.cc207 for (int i = 0; i < settings_.settings_to_test()->size(); i++) { in FindAccelerationToTestFromMiniBenchmarkEvent()
208 auto one_setting = settings_.settings_to_test()->Get(i); in FindAccelerationToTestFromMiniBenchmarkEvent()
275 total_validation_tests_ = settings_->settings_to_test()->size(); in MiniBenchmarkImpl()
276 for (int i = 0; i < settings_->settings_to_test()->size(); i++) { in MiniBenchmarkImpl()
277 auto one_setting = settings_->settings_to_test()->Get(i); in MiniBenchmarkImpl()
324 for (int i = 0; i < settings_->settings_to_test()->size(); i++) { in TriggerMiniBenchmark()
325 auto one_setting = settings_->settings_to_test()->Get(i); in TriggerMiniBenchmark()
422 if (settings_->settings_to_test() == nullptr) return false; in BenchmarkIsEnabled()
423 if (settings_->settings_to_test()->size() <= 0) return false; in BenchmarkIsEnabled()
460 const auto& settings_to_test = *settings_->settings_to_test(); in GetNnApiSlPointerIfPresent() local
[all …]
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dflatbuffer_to_proto_test.cc513 mini_settings->settings_to_test.emplace_back(std::move(xnnpack)); in TEST_F()
514 mini_settings->settings_to_test.emplace_back(std::move(hexagon)); in TEST_F()
515 mini_settings->settings_to_test.emplace_back(std::move(coreml)); in TEST_F()
529 2, mini_output.settings_to_test().at(0).xnnpack_settings().num_threads()); in TEST_F()
530 EXPECT_EQ(3, mini_output.settings_to_test() in TEST_F()
537 mini_output.settings_to_test().at(2).coreml_settings().enabled_devices()); in TEST_F()
540 mini_output.settings_to_test().at(2).coreml_settings().coreml_version()); in TEST_F()
541 EXPECT_EQ(10, mini_output.settings_to_test() in TEST_F()
545 EXPECT_EQ(4, mini_output.settings_to_test() in TEST_F()
Dproto_to_flatbuffer.cc375 Offset<Vector<Offset<TFLiteSettings>>> settings_to_test = 0; in ConvertMinibenchmarkSettings() local
378 for (const auto& one : settings.settings_to_test()) { in ConvertMinibenchmarkSettings()
381 settings_to_test = in ConvertMinibenchmarkSettings()
386 *builder, settings_to_test, in ConvertMinibenchmarkSettings()
Dflatbuffer_to_proto.cc421 if (settings.settings_to_test() != nullptr && in ConvertMinibenchmarkSettings()
422 settings.settings_to_test()->size() > 0) { in ConvertMinibenchmarkSettings()
423 for (int i = 0; i < settings.settings_to_test()->size(); ++i) { in ConvertMinibenchmarkSettings()
424 auto tflite_setting = settings.settings_to_test()->Get(i); in ConvertMinibenchmarkSettings()
Dconfiguration_generated.h3139 std::vector<std::unique_ptr<tflite::TFLiteSettingsT>> settings_to_test{};
3156 const flatbuffers::Vector<flatbuffers::Offset<tflite::TFLiteSettings>> *settings_to_test() const { in settings_to_test() function
3168 verifier.VerifyVector(settings_to_test()) && in Verify()
3169 verifier.VerifyVectorOfTables(settings_to_test()) && in Verify()
3185 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<tflite::TFLiteSettings>>> settings_to_test) { in add_settings_to_test()
3186 fbb_.AddOffset(MinibenchmarkSettings::VT_SETTINGS_TO_TEST, settings_to_test); in add_settings_to_test()
3207 …ers::Offset<flatbuffers::Vector<flatbuffers::Offset<tflite::TFLiteSettings>>> settings_to_test = 0,
3213 builder_.add_settings_to_test(settings_to_test);
3219 const std::vector<flatbuffers::Offset<tflite::TFLiteSettings>> *settings_to_test = nullptr,
3222 …auto settings_to_test__ = settings_to_test ? _fbb.CreateVector<flatbuffers::Offset<tflite::TFLiteS…
[all …]
Dconfiguration.proto701 repeated TFLiteSettings settings_to_test = 1; field