Home
last modified time | relevance | path

Searched refs:max_delegated_partitions (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/hexagon/
Dhexagon_delegate.cc41 if (params_.max_delegated_partitions <= 0) {
42 params_.max_delegated_partitions = kMaxHexagonGraphs;
43 } else if (params_.max_delegated_partitions > kMaxMaxHexagonGraphs) {
47 params_.max_delegated_partitions, kMaxMaxHexagonGraphs);
48 params_.max_delegated_partitions = kMaxMaxHexagonGraphs;
72 options.max_delegated_partitions = params_.max_delegated_partitions; in DelegateOptions()
Dhexagon_delegate.h49 int max_delegated_partitions; member
/external/tensorflow/tensorflow/lite/delegates/nnapi/java/src/main/native/
Dnnapi_delegate_jni.cc27 jstring cache_dir, jstring model_token, jint max_delegated_partitions, in Java_org_tensorflow_lite_nnapi_NnApiDelegate_createDelegate() argument
43 if (max_delegated_partitions >= 0) { in Java_org_tensorflow_lite_nnapi_NnApiDelegate_createDelegate()
44 options.max_number_delegated_partitions = max_delegated_partitions; in Java_org_tensorflow_lite_nnapi_NnApiDelegate_createDelegate()
/external/tensorflow/tensorflow/lite/delegates/utils/
Dsimple_delegate.cc83 if (delegate_options.max_delegated_partitions <= 0) in DelegatePrepare()
84 delegate_options.max_delegated_partitions = std::numeric_limits<int>::max(); in DelegatePrepare()
98 delegate_options.max_delegated_partitions, in DelegatePrepare()
Dsimple_delegate.h76 int max_delegated_partitions = 0; member
/external/tensorflow/tensorflow/lite/tools/delegates/
Dnnapi_delegate_provider.cc164 int max_delegated_partitions = params.Get<int>("max_delegated_partitions"); in CreateTfLiteDelegate() local
165 if (max_delegated_partitions >= 0) { in CreateTfLiteDelegate()
166 options.max_number_delegated_partitions = max_delegated_partitions; in CreateTfLiteDelegate()
Dcoreml_delegate_provider.cc82 coreml_opts.max_delegated_partitions = in CreateTfLiteDelegate()
Dhexagon_delegate_provider.cc88 options.max_delegated_partitions = in CreateTfLiteDelegate()
Dgpu_delegate_provider.cc132 gpu_opts.max_delegated_partitions = in CreateTfLiteDelegate()
DREADME.md25 * `max_delegated_partitions`: `int` (default=0, i.e. no limit) \
/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/
Dgpu_compatibility_test.cc83 EXPECT_EQ(best_options.max_delegated_partitions, in TEST_F()
84 default_options.max_delegated_partitions); in TEST_F()
/external/tensorflow/tensorflow/lite/delegates/coreml/
Dcoreml_delegate.h44 int max_delegated_partitions; member
Dcoreml_delegate.mm172 if (params_.max_delegated_partitions <= 0) {
173 params_.max_delegated_partitions = std::numeric_limits<int>::max();
247 params->max_delegated_partitions, params->min_nodes_per_partition);
/external/tensorflow/tensorflow/lite/delegates/gpu/
Ddelegate.cc80 if (options_.max_delegated_partitions <= 0) { in Delegate()
81 options_.max_delegated_partitions = 1; in Delegate()
93 return options_.max_delegated_partitions; in MaxDelegatedPartitions()
452 .max_delegated_partitions = 1, in TfLiteGpuDelegateOptionsV2Default()
Ddelegate.h103 int32_t max_delegated_partitions; member
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder.h36 int max_delegated_partitions = 1);
Dmodel_builder.cc2479 int max_delegated_partitions) { in GetOpsToReplace() argument
2515 max_delegated_partitions); in GetOpsToReplace()
/external/tensorflow/tensorflow/lite/swift/Sources/
DCoreMLDelegate.swift39 delegateOptions.max_delegated_partitions = Int32(options.maxDelegatedPartitions)
/external/tensorflow/tensorflow/lite/objc/sources/
DTFLCoreMLDelegate.m64 cOptions.max_delegated_partitions = options.maxDelegatedPartitions;
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/
Ddelegate_testing.cc136 options.max_delegated_partitions = 1; in main()
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dproto_to_flatbuffer.cc274 /*max_delegated_partitions=*/settings.max_delegated_partitions(), in ConvertTfliteSettings()
Dconfiguration_generated.h1429 int32_t max_delegated_partitions; member
1435 max_delegated_partitions(0) { in TFLiteSettingsT()
1471 int32_t max_delegated_partitions() const { in max_delegated_partitions() function
1531 void add_max_delegated_partitions(int32_t max_delegated_partitions) { in add_max_delegated_partitions()
1532 …fbb_.AddElement<int32_t>(TFLiteSettings::VT_MAX_DELEGATED_PARTITIONS, max_delegated_partitions, 0); in add_max_delegated_partitions()
1563 int32_t max_delegated_partitions = 0,
1571 builder_.add_max_delegated_partitions(max_delegated_partitions);
2479 { auto _e = max_delegated_partitions(); _o->max_delegated_partitions = _e; } in UnPackTo()
2499 auto _max_delegated_partitions = _o->max_delegated_partitions; in CreateTFLiteSettings()
Dconfiguration.proto314 optional int32 max_delegated_partitions = 7; field
/external/tensorflow/tensorflow/lite/tools/benchmark/
DREADME.md97 * `max_delegated_partitions`: `int` (default=0)