Lines Matching refs:nnapi
188 Memory(const NnApiSupportLibrary* nnapi, ANeuralNetworksMemory* memory) in Memory() argument
189 : mNnApi(nnapi), mMemory(memory) {} in Memory()
191 Memory(const NnApiSupportLibrary* nnapi, size_t size, int protect, int fd, size_t offset) argument
192 : mNnApi(nnapi) {
201 Memory(const NnApiSupportLibrary* nnapi, AHardwareBuffer* buffer) : mNnApi(nnapi) { argument
252 Model(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) { argument
378 Event(const NnApiSupportLibrary* nnapi) : mNnApi(nnapi) {} argument
379 Event(const NnApiSupportLibrary* nnapi, int syncFd) : mNnApi(nnapi) { argument
453 static std::pair<Result, Compilation> createForDevice(const NnApiSupportLibrary* nnapi, argument
456 return createForDevices(nnapi, model, {device});
459 const NnApiSupportLibrary* nnapi, const Model* model, argument
463 static_cast<Result>(nnapi->ANeuralNetworksCompilation_createForDevices(
466 return {result, Compilation(nnapi, compilation)};
566 Compilation(const NnApiSupportLibrary* nnapi, ANeuralNetworksCompilation* compilation) argument
567 : mNnApi(nnapi), mCompilation(compilation) {}
580 Execution(const NnApiSupportLibrary* nnapi, const Compilation* compilation) : mNnApi(nnapi) { argument