Home
last modified time | relevance | path

Searched refs:ExecutionPreference (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dproto_to_flatbuffer.cc29 ExecutionPreference ConvertExecutionPreference( in ConvertExecutionPreference()
30 proto::ExecutionPreference preference) { in ConvertExecutionPreference()
32 case proto::ExecutionPreference::ANY: in ConvertExecutionPreference()
34 case proto::ExecutionPreference::LOW_LATENCY: in ConvertExecutionPreference()
36 case proto::ExecutionPreference::LOW_POWER: in ConvertExecutionPreference()
38 case proto::ExecutionPreference::FORCE_CPU: in ConvertExecutionPreference()
Dnnapi_plugin.h82 static inline tflite::StatefulNnApiDelegate::Options::ExecutionPreference
86 tflite::StatefulNnApiDelegate::Options::ExecutionPreference; in ConvertExecutionPrefence()
Dconfiguration.proto26 // ExecutionPreference is used to match accelerators against the preferences of
34 enum ExecutionPreference { enum
84 optional ExecutionPreference preference = 1;
Dconfiguration_generated.h76 enum ExecutionPreference { enum
85 inline const ExecutionPreference (&EnumValuesExecutionPreference())[4] { in EnumValuesExecutionPreference()
86 static const ExecutionPreference values[] = { in EnumValuesExecutionPreference()
106 inline const char *EnumNameExecutionPreference(ExecutionPreference e) { in EnumNameExecutionPreference()
467 tflite::ExecutionPreference preference;
484 tflite::ExecutionPreference preference() const { in preference()
485 return static_cast<tflite::ExecutionPreference>(GetField<int32_t>(VT_PREFERENCE, 0)); in preference()
515 void add_preference(tflite::ExecutionPreference preference) { in add_preference()
541 tflite::ExecutionPreference preference = tflite::ExecutionPreference_ANY,
555 tflite::ExecutionPreference preference = tflite::ExecutionPreference_ANY,
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.h47 enum ExecutionPreference { enum
55 ExecutionPreference execution_preference = kUndefined;
216 Options::ExecutionPreference execution_preference;
Dnnapi_delegate_test.cc320 StatefulNnApiDelegate::Options::ExecutionPreference::kLowPower; in TEST()
336 StatefulNnApiDelegate::Options::ExecutionPreference::kLowPower; in TEST()
357 StatefulNnApiDelegate::Options::ExecutionPreference::kLowPower; in TEST()
379 StatefulNnApiDelegate::Options::ExecutionPreference::kLowPower; in TEST()
Dnnapi_delegate.cc3731 StatefulNnApiDelegate::Options::ExecutionPreference::kUndefined) { in Prepare()
/external/tensorflow/tensorflow/lite/delegates/nnapi/java/src/main/native/
Dnnapi_delegate_jni.cc32 (StatefulNnApiDelegate::Options::ExecutionPreference)preference; in Java_org_tensorflow_lite_nnapi_NnApiDelegate_createDelegate()
/external/tensorflow/tensorflow/lite/tools/delegates/
Dnnapi_delegate_provider.cc120 tflite::StatefulNnApiDelegate::Options::ExecutionPreference in CreateTfLiteDelegate()