Home
last modified time | relevance | path

Searched refs:NNAPI_CALL (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h179 #define NNAPI_CALL(apiCall) mNnApi->apiCall macro
181 #define NNAPI_CALL(apiCall) apiCall macro
196 mValid = NNAPI_CALL(ANeuralNetworksMemory_createFromFd(
205 mValid = NNAPI_CALL(ANeuralNetworksMemory_createFromAHardwareBuffer(buffer, &mMemory)) ==
211 NNAPI_CALL(ANeuralNetworksMemory_free(mMemory));
228 NNAPI_CALL(ANeuralNetworksMemory_free(mMemory));
257 NNAPI_CALL(ANeuralNetworksModel_create(&mModel));
261 NNAPI_CALL(ANeuralNetworksModel_free(mModel));
278 NNAPI_CALL(ANeuralNetworksModel_free(mModel));
292 auto result = static_cast<Result>(NNAPI_CALL(ANeuralNetworksModel_finish(mModel)));
[all …]
/packages/modules/NeuralNetworks/runtime/test/
DTestNeuralNetworksWrapper.h318 NNAPI_CALL(ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput( in getPreferredMemoryAlignmentForInput()
328 NNAPI_CALL(ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput( in getPreferredMemoryPaddingForInput()
338 NNAPI_CALL(ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput( in getPreferredMemoryAlignmentForOutput()
348 NNAPI_CALL(ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput( in getPreferredMemoryPaddingForOutput()
449 NNAPI_CALL(ANeuralNetworksExecution_setReusable(mExecution, reusable))); in setReusable()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h629 NNAPI_CALL(ANeuralNetworksExecution_startComputeWithDependencies( in startComputeWithDependencies()