Home
last modified time | relevance | path

Searched refs:kPreparedModel (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/common/include/
DDefaultExecution.h36 : 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/
DCanonicalBurst.cpp34 : 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()
DCanonicalBurst.h50 const std::shared_ptr<const PreparedModel> kPreparedModel;
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp358 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/
DManager.cpp946 : 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/
DSampleDriver.cpp603 : kPreparedModel(std::move(preparedModel)) { in SampleBurst()
604 CHECK(kPreparedModel != nullptr); in SampleBurst()
628 return kPreparedModel->executeSynchronously(request, measureTiming, deadlineNs, in executeSynchronously()
DSampleDriver.h175 const std::shared_ptr<SamplePreparedModel> kPreparedModel; variable