Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DBurst.cpp43 : kPreparedModel(std::move(preparedModel)) { in Burst()
44 CHECK(kPreparedModel != nullptr); in Burst()
55 return kPreparedModel->execute(request, measure, deadline, loopTimeoutDuration); in execute()
61 return kPreparedModel->createReusableExecution(request, measure, loopTimeoutDuration); in createReusableExecution()
DExecution.cpp56 : kPreparedModel(std::move(preparedModel)), in Execution()
62 return kPreparedModel->executeInternal(kRequest, kRelocation); in compute()
DPreparedModel.cpp57 : kPreparedModel(std::move(preparedModel)), kDeathHandler(std::move(deathHandler)) {} in PreparedModel()
86 const auto ret = kPreparedModel->execute(request, cb); in executeInternal()
127 sp<V1_0::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DExecution.cpp55 : kPreparedModel(std::move(preparedModel)), in Execution()
64 return kPreparedModel->executeInternal(kRequest, kMeasure, aidlDeadline, kLoopTimeoutDuration, in compute()
74 return kPreparedModel->executeFencedInternal(kRequest, aidlWaitFor, kMeasure, aidlDeadline, in computeFenced()
DPreparedModel.cpp72 : kPreparedModel(std::move(preparedModel)) {} in PreparedModel()
104 const auto ret = kPreparedModel->executeSynchronously(request, measure, deadline, in executeInternal()
157 kPreparedModel->executeFenced(request, waitFor, measure, deadline, loopTimeoutDuration, in executeFencedInternal()
214 const auto ret = kPreparedModel->configureExecutionBurst(&burst); in configureExecutionBurst()
220 std::shared_ptr<aidl_hal::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DExecution.cpp60 : kPreparedModel(std::move(preparedModel)), in Execution()
69 return kPreparedModel->executeInternal(kRequest, kMeasure, hidlDeadline, kLoopTimeoutDuration, in compute()
79 return kPreparedModel->executeFencedInternal(kRequest, hidlWaitFor, kMeasure, hidlDeadline, in computeFenced()
DPreparedModel.cpp104 kPreparedModel(std::move(preparedModel)), in PreparedModel()
113 const auto ret = kPreparedModel->executeSynchronously_1_3(request, measure, deadline, in executeSynchronously()
128 kPreparedModel->execute_1_3(request, measure, deadline, loopTimeoutDuration, cb); in executeAsynchronously()
216 kPreparedModel->executeFenced(request, waitFor, measure, deadline, loopTimeoutDuration, in executeFencedInternal()
261 return V1_2::utils::ExecutionBurstController::create(shared_from_this(), kPreparedModel, in configureExecutionBurst()
266 sp<V1_3::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DPreparedModel.cpp64 kPreparedModel(std::move(preparedModel)), in PreparedModel()
71 const auto ret = kPreparedModel->executeSynchronously(request, measure, cb); in executeSynchronously()
82 const auto ret = kPreparedModel->execute_1_2(request, measure, cb); in executeAsynchronously()
163 return ExecutionBurstController::create(shared_from_this(), kPreparedModel, pollingTimeWindow); in configureExecutionBurst()
167 sp<V1_2::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DPreparedModel.cpp293 : kPreparedModel(std::move(preparedModel)), kExecutor(std::move(executor)), kUserId(userId) { in PreparedModel()
294 CHECK(kPreparedModel != nullptr); in PreparedModel()
299 return kPreparedModel; in getUnderlyingPreparedModel()
304 auto result = adapter::execute(kPreparedModel, kUserId, kExecutor, request, callback); in execute()
318 adapter::execute_1_2(kPreparedModel, kUserId, kExecutor, request, measure, callback); in execute_1_2()
333 auto result = adapter::execute_1_3(kPreparedModel, kUserId, kExecutor, request, measure, in execute_1_3()
347 auto result = adapter::executeSynchronously(kPreparedModel, request, measure); in executeSynchronously()
365 auto result = adapter::executeSynchronously_1_3(kPreparedModel, request, measure, deadline, in executeSynchronously_1_3()
403 auto result = adapter::executeFenced(kPreparedModel, request, waitFor, measure, deadline, in executeFenced()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DBurst.h56 const nn::SharedPreparedModel kPreparedModel;
DExecution.h57 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h72 const sp<V1_0::IPreparedModel> kPreparedModel;
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DExecution.h57 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h89 const sp<V1_3::IPreparedModel> kPreparedModel; variable
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DExecution.h56 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h80 const std::shared_ptr<aidl_hal::IPreparedModel> kPreparedModel;
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DExecution.h58 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h80 const sp<V1_2::IPreparedModel> kPreparedModel; variable
DExecutionBurstController.h192 const nn::SharedPreparedModel kPreparedModel; variable
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DPreparedModel.h72 const nn::SharedPreparedModel kPreparedModel;
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp108 : kDevice(device), kPreparedModel(preparedModel), kTestModel(testModel) {} in DeviceMemoryAllocator()
144 const auto ret = kDevice->allocate({}, {kPreparedModel}, inputRoles, outputRoles, cb); in allocateInternal()
184 const sp<IPreparedModel> kPreparedModel; member in android::hardware::neuralnetworks::V1_3::vts::functional::__anon404ff7050111::DeviceMemoryAllocator
340 : kDevice(std::move(device)), kPreparedModel(std::move(preparedModel)) {} in ExecutionContextV1_3()
355 const sp<IPreparedModel> kPreparedModel; member in android::hardware::neuralnetworks::V1_3::vts::functional::ExecutionContextV1_3
367 DeviceMemoryAllocator allocator(kDevice, kPreparedModel, testModel); in createRequest()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp87 : kDevice(device), kPreparedModel(preparedModel), kTestModel(testModel) {} in DeviceMemoryAllocator()
116 parcel.preparedModel = kPreparedModel; in allocateInternal()
156 const std::shared_ptr<IPreparedModel> kPreparedModel; member in aidl::android::hardware::neuralnetworks::vts::functional::__anon4cf4456d0111::DeviceMemoryAllocator
321 : kDevice(std::move(device)), kPreparedModel(std::move(preparedModel)) {} in ExecutionContext()
337 const std::shared_ptr<IPreparedModel> kPreparedModel; member in aidl::android::hardware::neuralnetworks::vts::functional::ExecutionContext
355 DeviceMemoryAllocator allocator(kDevice, kPreparedModel, testModel); in createRequest()