Home
last modified time | relevance | path

Searched refs:xnnpack_settings (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dxnnpack_plugin.cc37 const auto* xnnpack_settings = tflite_settings.xnnpack_settings(); in XNNPackPlugin() local
38 if (xnnpack_settings) { in XNNPackPlugin()
39 options_.num_threads = xnnpack_settings->num_threads(); in XNNPackPlugin()
40 options_.flags = xnnpack_settings->flags(); in XNNPackPlugin()
Dxnnpack_plugin_test.cc45 flatbuffers::Offset<XNNPackSettings> xnnpack_settings = in SetUp() local
48 tflite_settings_builder.add_xnnpack_settings(xnnpack_settings); in SetUp()
Dflatbuffer_to_proto_test.cc413 settings_.tflite_settings->xnnpack_settings = in TEST_F()
416 settings_.tflite_settings->xnnpack_settings.get(); in TEST_F()
422 EXPECT_EQ(compute.tflite_settings().xnnpack_settings().num_threads(), 2); in TEST_F()
423 EXPECT_EQ(compute.tflite_settings().xnnpack_settings().flags(), 3); in TEST_F()
501 xnnpack->xnnpack_settings = std::make_unique<XNNPackSettingsT>(); in TEST_F()
502 xnnpack->xnnpack_settings->num_threads = 2; in TEST_F()
529 2, mini_output.settings_to_test().at(0).xnnpack_settings().num_threads()); in TEST_F()
578 min_event->tflite_settings->xnnpack_settings = in TEST_F()
580 min_event->tflite_settings->xnnpack_settings->num_threads = 2; in TEST_F()
599 proto_min_event.tflite_settings().xnnpack_settings().num_threads()); in TEST_F()
Dconfiguration_generated.h1986 std::unique_ptr<tflite::XNNPackSettingsT> xnnpack_settings{};
2029 const tflite::XNNPackSettings *xnnpack_settings() const { in xnnpack_settings() function
2063 verifier.VerifyTable(xnnpack_settings()) && in Verify()
2099 void add_xnnpack_settings(flatbuffers::Offset<tflite::XNNPackSettings> xnnpack_settings) { in add_xnnpack_settings()
2100 fbb_.AddOffset(TFLiteSettings::VT_XNNPACK_SETTINGS, xnnpack_settings); in add_xnnpack_settings()
2140 flatbuffers::Offset<tflite::XNNPackSettings> xnnpack_settings = 0,
2155 builder_.add_xnnpack_settings(xnnpack_settings);
3888 …((lhs.xnnpack_settings == rhs.xnnpack_settings) || (lhs.xnnpack_settings && rhs.xnnpack_settings &…
3908xnnpack_settings((o.xnnpack_settings) ? new tflite::XNNPackSettingsT(*o.xnnpack_settings) : nullpt… in TFLiteSettingsT()
3923 std::swap(xnnpack_settings, o.xnnpack_settings);
[all …]
Dflatbuffer_to_proto.cc359 if (settings.xnnpack_settings() != nullptr) { in ConvertTfliteSettings()
361 ConvertXNNPackSettings(*settings.xnnpack_settings()); in ConvertTfliteSettings()
Dproto_to_flatbuffer.cc348 ConvertXNNPackSettings(settings.xnnpack_settings(), builder), in ConvertTfliteSettings()
Dconfiguration.proto458 optional XNNPackSettings xnnpack_settings = 5; field
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/c/
Dxnnpack_plugin.cc32 const auto* xnnpack_settings = tflite_settings->xnnpack_settings(); in CreateDelegate() local
33 if (xnnpack_settings) { in CreateDelegate()
34 options.num_threads = xnnpack_settings->num_threads(); in CreateDelegate()
Dxnnpack_plugin_test.cc38 flatbuffers::Offset<XNNPackSettings> xnnpack_settings = in SetUp() local
41 tflite_settings_builder.add_xnnpack_settings(xnnpack_settings); in SetUp()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dop_resolver_lazy_delegate_proxy.cc160 flatbuffers::Offset<tflite::XNNPackSettings> xnnpack_settings = in createXNNPackOpaqueDelegate() local
163 tflite_settings_builder.add_xnnpack_settings(xnnpack_settings); in createXNNPackOpaqueDelegate()