Home
last modified time | relevance | path

Searched refs:NnApiImplementation (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_util.cc50 if (NnApiImplementation()->ANeuralNetworks_getDeviceCount != nullptr) { in GetDeviceNamesList()
53 NnApiImplementation()->ANeuralNetworks_getDeviceCount(&num_devices); in GetDeviceNamesList()
58 NnApiImplementation()->ANeuralNetworks_getDevice(i, &device); in GetDeviceNamesList()
59 NnApiImplementation()->ANeuralNetworksDevice_getName(device, &buffer); in GetDeviceNamesList()
Dnnapi_handler_test.cc39 const NnApi* nnapi = NnApiImplementation(); in TEST_F()
56 NnApi nnapi_orig_copy = *NnApiImplementation(); in TEST_F()
66 Ne(NnApiImplementation()->ANeuralNetworks_getDeviceCount)); in TEST_F()
70 ExpectEquals(nnapi_orig_copy, *NnApiImplementation()); in TEST_F()
75 const NnApi* nnapi = NnApiImplementation(); in TEST_F()
100 const NnApi* nnapi = NnApiImplementation(); in TEST_F()
142 const NnApi* nnapi = NnApiImplementation(); in TEST_F()
Dnnapi_handler.cc35 static const NnApi orig_nnapi_copy = *NnApiImplementation(); in NnApiPassthroughInstance()
44 static NnApiHandler handler{const_cast<NnApi*>(NnApiImplementation())}; in Instance()
Dnnapi_implementation_disabled.cc17 const NnApi* NnApiImplementation() { in NnApiImplementation() function
Dnnapi_implementation_test.cc20 TEST(NnapiLibTest, NnApiImplementation) { in TEST() argument
21 const NnApi* nnapi = NnApiImplementation(); in TEST()
Dnnapi_implementation.h1667 const NnApi* NnApiImplementation();
Dnnapi_implementation.cc305 const NnApi* NnApiImplementation() { in NnApiImplementation() function
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_mock_test.h85 nnapi_ = *NnApiImplementation(); in SetUp()
Dnnapi_delegate_kernel.h253 NNAPIDelegateKernel() : NNAPIDelegateKernel(NnApiImplementation()) {} in NNAPIDelegateKernel()
Dnnapi_delegate_test.cc351 if (!NnApiImplementation()->ANeuralNetworksDevice_getName) { in TEST()
413 if (!NnApiImplementation()->ASharedMemory_create || in TEST()
414 !NnApiImplementation()->ANeuralNetworksMemory_createFromFd) { in TEST()
429 NnApiImplementation()->ASharedMemory_create("input1", kInput1ByteSize); in TEST()
436 int result = NnApiImplementation()->ANeuralNetworksMemory_createFromFd( in TEST()
Dnnapi_delegate.cc4816 : StatefulNnApiDelegate(NnApiImplementation(), options) {} in StatefulNnApiDelegate()
/external/tensorflow/tensorflow/lite/tools/delegates/
Dnnapi_delegate_provider.cc168 const auto* nnapi_impl = NnApiImplementation(); in CreateTfLiteDelegate()
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin_test.cc63 nnapi_ = const_cast<NnApi*>(NnApiImplementation()); in SetUp()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc361 const NnApi* nnapi = NnApiImplementation(); in ExpectOpAcceleratedWithNnapi()