Home
last modified time | relevance | path

Searched refs:android_sdk_version (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_mock_test.h41 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()
Dnnapi_delegate.cc547 *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 …]
Dnnapi_delegate_kernel.h267 int android_sdk_version,
274 int android_sdk_version, const TfLiteNode* node,
/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_implementation.cc134 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()
Dnnapi_implementation_test.cc24 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()
Dnnapi_handler.cc55 nnapi_->android_sdk_version = version; in SetAndroidSdkVersion()
Dnnapi_implementation.h26 int32_t android_sdk_version; member
Dnnapi_handler_test.cc179 EXPECT_NNAPI_MEMBER_EQ(android_sdk_version); in ExpectEquals()
/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/
Dgpu_compatibility_test.cc41 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()
Dandroid_info.h29 std::string android_sdk_version; member
Dandroid_info.cc44 info_out->android_sdk_version = GetPropertyValue("ro.build.version.sdk"); in RequestAndroidInfo()
Dgpu_compatibility.cc82 variables[kAndroidSdkVersion] = android_info.android_sdk_version; in CalculateVariables()
/external/tensorflow/tensorflow/lite/delegates/gpu/java/src/main/native/
Dgpu_delegate_jni.cc63 if (android_info_.android_sdk_version < "21") { in ReadInfo()
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin_test.cc153 nnapi_->android_sdk_version = in TEST_F()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_device.cc252 android_info.android_sdk_version == "26"; in CLDevice()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc363 nnapi->android_sdk_version >= in ExpectOpAcceleratedWithNnapi()