/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 214 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, in allocate() argument 219 ResilientBuffer::Factory makeBuffer = [device = std::move(self), desc, preparedModels, in allocate() 221 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 225 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate() 262 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, in allocateInternal() argument 268 const auto fn = [&desc, &preparedModels, &inputRoles, &outputRoles](const nn::IDevice& device) { in allocateInternal() 269 return device.allocate(desc, preparedModels, inputRoles, outputRoles); in allocateInternal()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | MemoryDomainTests.cpp | 315 std::vector<std::shared_ptr<IPreparedModel>> preparedModels; member 324 preparedModelParcels.reserve(args.preparedModels.size()); in validateAllocate() 325 for (const auto& model : args.preparedModels) { in validateAllocate() 343 .preparedModels = {model1, model2}, in testConflictOperands() 348 .preparedModels = {model1, model2}, in testConflictOperands() 353 .preparedModels = {model1, model2}, in testConflictOperands() 369 .preparedModels = {preparedModel}, in TEST_P() 376 .preparedModels = {nullptr}, in TEST_P() 382 .preparedModels = {nullptr}, in TEST_P() 393 .preparedModels = {invalidPreparedModel}, in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 58 const std::vector<nn::SharedPreparedModel>& preparedModels) { in convert() argument 59 hidl_vec<sp<IPreparedModel>> hidlPreparedModels(preparedModels.size()); in convert() 60 for (size_t i = 0; i < preparedModels.size(); ++i) { in convert() 61 std::any underlyingResource = preparedModels[i]->getUnderlyingResource(); in convert() 236 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, in allocate() argument 240 const auto hidlPreparedModels = NN_TRY(convert(preparedModels)); in allocate()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Device.cpp | 52 const std::vector<nn::SharedPreparedModel>& preparedModels) { in convert() argument 53 std::vector<std::shared_ptr<IPreparedModel>> aidlPreparedModels(preparedModels.size()); in convert() 54 for (size_t i = 0; i < preparedModels.size(); ++i) { in convert() 55 std::any underlyingResource = preparedModels[i]->getUnderlyingResource(); in convert() 260 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, in allocate() argument 264 const auto aidlPreparedModels = NN_TRY(convert(preparedModels)); in allocate()
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientDevice.h | 77 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, 91 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
|
D | InvalidDevice.h | 64 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 49 (const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 37 …Desc desc, in android.hardware.neuralnetworks.IPreparedModelParcel[] preparedModels, in android.ha… in allocate() argument
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 299 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels) { in downcastAll() argument 301 canonical.reserve(preparedModels.size()); in downcastAll() 302 for (const auto& preparedModel : preparedModels) { in downcastAll() 310 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in allocate() argument 314 auto nnPreparedModels = NN_TRY(downcastAll(preparedModels)); in allocate() 541 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in allocate() argument 544 auto result = adapter::allocate(kDevice, desc, preparedModels, inputRoles, outputRoles); in allocate()
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 115 DeviceBuffer allocate(in BufferDesc desc, in IPreparedModelParcel[] preparedModels, in allocate() argument
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockDevice.h | 33 (const BufferDesc& desc, const std::vector<IPreparedModelParcel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 39 const std::vector<IPreparedModelParcel>& preparedModels,
|
D | Device.h | 78 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 76 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 76 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 78 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | Device.h | 85 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Device.h | 95 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
|
/hardware/interfaces/neuralnetworks/1.3/utils/test/ |
D | MockDevice.h | 93 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IDevice.hal | 346 * @param preparedModels A vector of IPreparedModel objects. Must only contain IPreparedModel 369 allocate(BufferDesc desc, vec<IPreparedModel> preparedModels, vec<BufferRole> inputRoles,
|