Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp160 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_1() local
163 Task task = [device, nnModel = std::move(nnModel), nnPreference, userId, executor, callback] { in prepareModel_1_1()
165 device->prepareModel(nnModel, nnPreference, nn::Priority::DEFAULT, {}, {}, {}, {}); in prepareModel_1_1()
185 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_2() local
191 Task task = [device, nnModel = std::move(nnModel), nnPreference, in prepareModel_1_2()
194 auto result = device->prepareModel(nnModel, nnPreference, nn::Priority::DEFAULT, {}, in prepareModel_1_2()
214 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_3() local
222 Task task = [device, nnModel = std::move(nnModel), nnPreference, nnPriority, nnDeadline, in prepareModel_1_3()
225 auto result = device->prepareModel(nnModel, nnPreference, nnPriority, nnDeadline, in prepareModel_1_3()