Searched refs:kPreparedModel (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/common/include/ |
D | DefaultExecution.h | 36 : kPreparedModel(std::move(preparedModel)), in DefaultExecution() 40 CHECK(kPreparedModel != nullptr); in DefaultExecution() 45 return kPreparedModel->execute(kRequest, kMeasure, deadline, kLoopTimeoutDuration); in compute() 51 return kPreparedModel->executeFenced(kRequest, waitFor, kMeasure, deadline, in computeFenced() 56 const SharedPreparedModel kPreparedModel;
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalBurst.cpp | 34 : kPreparedModel(std::move(preparedModel)) { in Burst() 35 CHECK(kPreparedModel != nullptr); in Burst() 45 return kPreparedModel->execute(request, measure, deadline, loopTimeoutDuration); in execute() 51 return std::make_shared<DefaultExecution>(kPreparedModel, request, measure, in createReusableExecution()
|
D | CanonicalBurst.h | 50 const std::shared_ptr<const PreparedModel> kPreparedModel;
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimPreparedModel.cpp | 358 const std::shared_ptr<ShimPreparedModel> kPreparedModel; member in aidl::android::hardware::neuralnetworks::ShimBurst 368 : kPreparedModel(std::move(preparedModel)) { in ShimBurst() 369 CHECK(kPreparedModel != nullptr); in ShimBurst() 393 return kPreparedModel->executeSynchronously(request, measureTiming, deadlineNs, in executeSynchronously()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 946 : kPreparedModel(preparedModel), in CpuExecution() 959 const CpuPreparedModel& kPreparedModel; member in android::nn::CpuExecution 1180 result = computeOnCpu(kPreparedModel.getModel(), kRequest, in compute() 1181 kPreparedModel.getModelPoolInfos(), kRequestPoolInfos, deadline, in compute() 1187 return computeOnCpu(kPreparedModel.getModel(), kRequest, kPreparedModel.getModelPoolInfos(), in compute()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriver.cpp | 603 : kPreparedModel(std::move(preparedModel)) { in SampleBurst() 604 CHECK(kPreparedModel != nullptr); in SampleBurst() 628 return kPreparedModel->executeSynchronously(request, measureTiming, deadlineNs, in executeSynchronously()
|
D | SampleDriver.h | 175 const std::shared_ptr<SamplePreparedModel> kPreparedModel; variable
|