Searched refs:copiedModel (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidlPartial.cpp | 63 auto copiedModel = aidl_hal::utils::clone(model); in prepareModel() local 64 if (!copiedModel.has_value()) { in prepareModel() 65 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel() 67 return prepareModelBase(std::move(copiedModel).value(), this, preference, priority, deadline, in prepareModel()
|
D | SampleDriverAidl.cpp | 112 auto copiedModel = aidl_hal::utils::clone(model); in prepareModel() local 113 if (!copiedModel.has_value()) { in prepareModel() 114 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModel() 116 return prepareModelBase(std::move(copiedModel).value(), this, preference, priority, deadlineNs, in prepareModel() 124 auto copiedModel = aidl_hal::utils::clone(model); in prepareModelWithConfig() local 125 if (!copiedModel.has_value()) { in prepareModelWithConfig() 126 return toAStatus(aidl_hal::ErrorStatus::GENERAL_FAILURE, copiedModel.error().message); in prepareModelWithConfig() 128 return prepareModelBase(std::move(copiedModel).value(), this, config.preference, in prepareModelWithConfig()
|