Searched refs:android_sdk_version (Results 1 – 16 of 16) sorted by relevance
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_mock_test.h | 41 explicit NnApiMock(NnApi* nnapi, int android_sdk_version = 29) 44 nnapi_->android_sdk_version = android_sdk_version; in NnApiHandler() 76 SetNnapiSupportedDevice("test-device", android_sdk_version); in NnApiHandler()
|
D | nnapi_delegate.cc | 547 *target_sdk_version = nnapi->android_sdk_version; in GetTargetSdkVersion() 565 (devices_sdk_version < nnapi->android_sdk_version)) { in GetTargetSdkVersion() 569 nnapi->android_sdk_version, devices_sdk_version); in GetTargetSdkVersion() 593 nnapi->android_sdk_version >= in ShouldUseTargetDevices() 612 if (nnapi->android_sdk_version < delegate::nnapi::kMinSdkVersionForNNAPI12) { in GetTargetDevices() 1681 int android_sdk_version, const TfLiteNode* node, in Validate() argument 1688 if (android_sdk_version >= kMinSdkVersionForNNAPI13) { in Validate() 1704 ExpectMinAndroidSdkVersion(android_sdk_version, kMinSdkVersionForNNAPI12, in Validate() 1743 if (android_sdk_version >= kMinSdkVersionForNNAPI13) { in Validate() 1777 if (android_sdk_version < kMinSdkVersionForNNAPI12) { in Validate() [all …]
|
D | nnapi_delegate_kernel.h | 267 int android_sdk_version, 274 int android_sdk_version, const TfLiteNode* node,
|
/external/tensorflow/tensorflow/lite/nnapi/ |
D | nnapi_implementation.cc | 134 nnapi.android_sdk_version = 0; in LoadNnApi() 137 nnapi.android_sdk_version = GetAndroidSdkVersion(); in LoadNnApi() 138 if (nnapi.android_sdk_version < 27) { in LoadNnApi() 295 if (nnapi.nnapi_exists && nnapi.android_sdk_version == 0) { in LoadNnApi() 296 nnapi.android_sdk_version = CalculateAndroidSdkVersion(nnapi); in LoadNnApi()
|
D | nnapi_implementation_test.cc | 24 EXPECT_GT(nnapi->android_sdk_version, 0); in TEST() 25 if (nnapi.android_sdk_version < 27) { in TEST() 65 if (nnapi->android_sdk_version >= 28) { in TEST() 91 EXPECT_EQ(nnapi->android_sdk_version, 0); in TEST()
|
D | nnapi_handler.cc | 55 nnapi_->android_sdk_version = version; in SetAndroidSdkVersion()
|
D | nnapi_implementation.h | 26 int32_t android_sdk_version; member
|
D | nnapi_handler_test.cc | 179 EXPECT_NNAPI_MEMBER_EQ(android_sdk_version); in ExpectEquals()
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/ |
D | gpu_compatibility_test.cc | 41 tflite::acceleration::AndroidInfo android_info = {.android_sdk_version = "24", in TEST_F() 54 tflite::acceleration::AndroidInfo android_info = {.android_sdk_version = "28", in TEST_F()
|
D | android_info.h | 29 std::string android_sdk_version; member
|
D | android_info.cc | 44 info_out->android_sdk_version = GetPropertyValue("ro.build.version.sdk"); in RequestAndroidInfo()
|
D | gpu_compatibility.cc | 82 variables[kAndroidSdkVersion] = android_info.android_sdk_version; in CalculateVariables()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/java/src/main/native/ |
D | gpu_delegate_jni.cc | 63 if (android_info_.android_sdk_version < "21") { in ReadInfo()
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/ |
D | nnapi_plugin_test.cc | 153 nnapi_->android_sdk_version = in TEST_F()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | cl_device.cc | 252 android_info.android_sdk_version == "26"; in CLDevice()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.cc | 363 nnapi->android_sdk_version >= in ExpectOpAcceleratedWithNnapi()
|