Searched refs:NNAPI_CALL (Results 1 – 3 of 3) sorted by relevance
179 #define NNAPI_CALL(apiCall) mNnApi->apiCall macro181 #define NNAPI_CALL(apiCall) apiCall macro196 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 …]
318 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()
629 NNAPI_CALL(ANeuralNetworksExecution_startComputeWithDependencies( in startComputeWithDependencies()