Home
last modified time | relevance | path

Searched defs:preparedModel (Results 1 – 24 of 24) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DPreparedModelCallback.cpp22 bool deadObject, ErrorStatus errorStatus, const sp<V1_0::IPreparedModel>& preparedModel) { in notifyInternal()
43 V1_0::ErrorStatus errorStatus, const sp<V1_0::IPreparedModel>& preparedModel) { in notify()
48 V1_0::ErrorStatus errorStatus, const sp<V1_2::IPreparedModel>& preparedModel) { in notify_1_2()
53 V1_3::ErrorStatus errorStatus, const sp<V1_3::IPreparedModel>& preparedModel) { in notify_1_3()
DTestExecution.cpp81 TestPreparedModelLatest(sp<V1_0::IPreparedModel> preparedModel, V1_3::ErrorStatus errorStatus) in TestPreparedModelLatest()
277 TestPreparedModel12(sp<V1_0::IPreparedModel> preparedModel, V1_3::ErrorStatus errorStatus) in TestPreparedModel12()
313 TestPreparedModel10(sp<V1_0::IPreparedModel> preparedModel, V1_3::ErrorStatus errorStatus) in TestPreparedModel10()
DTestPartitioning.cpp3404 index, [&actual](const auto* preparedModel, IOType type, uint32_t) { in checkStepRolesOfInput()
3415 index, [&actual](const auto* preparedModel, IOType type, uint32_t) { in checkStepRolesOfOutput()
3427 index, [&actual](const auto* preparedModel, IOType type, uint32_t) { in checkStepRolesOfSourceOperand()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverUtils.cpp47 const sp<SamplePreparedModel>& preparedModel) { in notify()
55 const sp<SamplePreparedModel>& preparedModel) { in notify()
64 const sp<SamplePreparedModel>& preparedModel) { in notify()
DSampleDriver.cpp237 const sp<V1_3::IPreparedModel>& preparedModel) { in castToSamplePreparedModel()
257 auto getModel = [](const sp<V1_3::IPreparedModel>& preparedModel) -> const V1_3::Model* { in allocate()
372 const SamplePreparedModel* preparedModel) { in createRunTimePoolInfos()
451 const SamplePreparedModel* preparedModel, in asyncExecute()
507 const SamplePreparedModel* preparedModel, in executeBase()
571 const SamplePreparedModel* preparedModel, in executeSynchronouslyBase()
DSampleDriverFloatXNNPACK.cpp1888 sp<SamplePreparedModelXNNPACK> preparedModel = new SamplePreparedModelXNNPACK( in prepareModelXNNPACK() local
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidlUtils.cpp60 const std::shared_ptr<aidl_hal::IPreparedModel>& preparedModel) { in notify()
140 std::shared_ptr<SamplePreparedModel> preparedModel = in prepareModelBase() local
DSampleDriverAidl.cpp148 const std::shared_ptr<aidl_hal::IPreparedModel>& preparedModel) { in castToSamplePreparedModel()
165 -> const aidl_hal::Model* { in allocate()
317 const SamplePreparedModel* preparedModel) { in createRunTimePoolInfos()
625 SampleBurst::SampleBurst(std::shared_ptr<SamplePreparedModel> preparedModel) in SampleBurst()
DSampleDriverAidl.h193 SampleExecution(std::shared_ptr<SamplePreparedModel> preparedModel, aidl_hal::Request request, in SampleExecution()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp89 const ShimPreparedModel* castToShimPreparedModel(IPreparedModel* preparedModel) { in castToShimPreparedModel()
343 constexpr auto getCompilation = [](IPreparedModel* preparedModel) -> const ShimPreparedModel* { in allocate()
361 auto preparedModel = preparedModels[role.modelIndex]; in allocate() local
399 auto preparedModel = preparedModels[role.modelIndex]; in allocate() local
617 const std::shared_ptr<ShimPreparedModel> preparedModel = in prepareModelCommon() local
DShimPreparedModel.cpp478 ShimBurst::ShimBurst(std::shared_ptr<ShimPreparedModel> preparedModel) in ShimBurst()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp58 const auto preparedModel = NN_TRY(device->prepareModel( in runTest() local
/packages/modules/NeuralNetworks/common/include/
DDefaultExecution.h34 DefaultExecution(SharedPreparedModel preparedModel, Request request, MeasureTiming measure, in DefaultExecution()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBurst.cpp33 Burst::Burst(std::shared_ptr<const PreparedModel> preparedModel) in Burst()
DCanonicalDevice.cpp213 auto getModel = [](const SharedPreparedModel& preparedModel) -> const Model* { in allocate()
DCanonicalPreparedModel.cpp40 const PreparedModel& preparedModel) { in createRunTimePoolInfos()
/packages/modules/NeuralNetworks/runtime/
DMemory.cpp330 auto callback = [&roles](const auto* preparedModel, IOType type, uint32_t index) { in addRole()
423 for (const auto* preparedModel : desc.preparedModels) { in logMemoryDescriptorToInfo() local
439 for (const auto* preparedModel : desc.preparedModels) { in getDevices() local
DManager.cpp184 DriverPreparedModel(const Device* device, const SharedPreparedModel& preparedModel) in DriverPreparedModel()
530 SharedPreparedModel preparedModel = std::move(result).value(); in prepareModel() local
542 [](const auto* preparedModel) { in allocate()
979 CpuExecution(const CpuPreparedModel& preparedModel, Request request, in CpuExecution()
1071 std::shared_ptr<RuntimePreparedModel> preparedModel = in create() local
DExecutionPlan.cpp108 std::shared_ptr<RuntimePreparedModel>* preparedModel) { in compile()
1223 if (const auto preparedModel = in makeBursts() local
1241 if (const auto preparedModel = simpleBody->mPreparedModel) { in makeBursts() local
2105 index, [&alignment, &padding](const auto* preparedModel, IOType, uint32_t) { in getMemoryPreferenceOfSourceOperand()
DExecutionBuilder.cpp1362 std::shared_ptr<RuntimePreparedModel> preparedModel, bool reusable, in StepExecutor()
/packages/modules/NeuralNetworks/common/
DExecutionBurstServer.cpp56 DefaultBurstExecutorWithCache(V1_2::IPreparedModel* preparedModel) in DefaultBurstExecutorWithCache()
532 const MQDescriptorSync<FmqResultDatum>& resultChannel, V1_2::IPreparedModel* preparedModel, in create()
DValidateHal.cpp885 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDesc() local
899 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDesc() local
DExecutionBurstController.cpp486 const sp<V1_2::IPreparedModel>& preparedModel, in create()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp1259 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDescImpl() local
1273 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDescImpl() local