• Home
  • Raw
  • Download

Lines Matching refs:mNnapi

183     : mNnapi(std::move(nnapi)),  in ShimDevice()
187 mCapabilities(neuralnetworks::getCapabilities(mNnapi.get(), mDevice)), in ShimDevice()
188 mNumberOfCacheFiles(neuralnetworks::getNumberOfCacheFilesNeeded(mNnapi.get(), mDevice)), in ShimDevice()
189 mExtensions(neuralnetworks::getVendorExtensions(mNnapi.get(), mDevice)) {} in ShimDevice()
329 mNnapi->ANeuralNetworksMemoryDesc_create(&slDesc); in allocate()
331 [this, slDesc] { mNnapi->ANeuralNetworksMemoryDesc_free(slDesc); }); in allocate()
334 if (mNnapi->ANeuralNetworksMemoryDesc_setDimensions(slDesc, desc.dimensions.size(), in allocate()
372 auto result = mNnapi->ANeuralNetworksMemoryDesc_addInputRole( in allocate()
410 auto result = mNnapi->ANeuralNetworksMemoryDesc_addOutputRole( in allocate()
436 mNnapi->ANeuralNetworksMemoryDesc_finish(slDesc); in allocate()
438 std::make_shared<::android::nn::sl_wrapper::Memory>(mNnapi.get(), slDesc, *typeSize); in allocate()
453 auto shimbuffer = ndk::SharedRefBase::make<ShimBuffer>(mNnapi.get(), dimensions, *type, in allocate()
484 convertFromHAL(mNnapi.get(), model, &copiedOperandValues, &convertErrorStatus); in getSupportedOperations()
493 auto result = mNnapi->ANeuralNetworksModel_getSupportedOperationsForDevices( in getSupportedOperations()
503 auto result = mNnapi->ANeuralNetworksDevice_getType(mDevice, &deviceType); in getType()
511 auto result = mNnapi->ANeuralNetworksDevice_getVersion(mDevice, &buffer); in getVersionString()
552 convertFromHAL(mNnapi.get(), model, &copiedOperandValues, &convertErrorStatus); in prepareModel()
562 mNnapi.get(), &modelAndMemory->models[0], mDevice); in prepareModel()
592 mNnapi, mBufferTracker, std::move(compilation.second), in prepareModel()