Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/include/
DValidateHal.h89 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels,
/frameworks/ml/nn/runtime/
DManager.cpp259 std::vector<std::shared_ptr<VersionedIPreparedModel>> preparedModels( in allocate() local
260 desc.preparedModels.size()); in allocate()
261 std::transform(desc.preparedModels.begin(), desc.preparedModels.end(), preparedModels.begin(), in allocate()
268 kInterface->allocate(hidlDesc, preparedModels, desc.inputRoles, desc.outputRoles); in allocate()
DMemory.cpp392 uint32_t modelIndex = mDesc.preparedModels.add(preparedModel); in addRole()
429 LOG(INFO) << " Prepared models [" << desc.preparedModels.size() << "]:"; in logMemoryDescriptorToInfo()
430 for (const auto* preparedModel : desc.preparedModels) { in logMemoryDescriptorToInfo()
446 for (const auto* preparedModel : desc.preparedModels) { in getDevices()
DMemory.h100 ObjectTracker<PreparedModel> preparedModels; member
DVersionedInterfaces.h371 const std::vector<std::shared_ptr<VersionedIPreparedModel>>& preparedModels,
DVersionedInterfaces.cpp1531 hidl_vec<sp<V1_3::IPreparedModel>> preparedModels(versionedPreparedModels.size()); in allocate() local
1533 preparedModels.begin(), in allocate()
1539 return device->allocate(desc, preparedModels, inputRoles, outputRoles, in allocate()
/frameworks/ml/nn/common/
DValidateHal.cpp855 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in validateMemoryDesc() argument
861 NN_RET_CHECK(preparedModels.size() != 0); in validateMemoryDesc()
868 NN_RET_CHECK_LT(role.modelIndex, preparedModels.size()); in validateMemoryDesc()
869 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDesc()
882 NN_RET_CHECK_LT(role.modelIndex, preparedModels.size()); in validateMemoryDesc()
883 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDesc()
/frameworks/ml/nn/driver/sample/
DSampleDriver.h110 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels,
DSampleDriver.cpp242 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in allocate() argument
258 if (!validateMemoryDesc(desc, preparedModels, inputRoles, outputRoles, getModel, &roles, in allocate()
/frameworks/ml/nn/runtime/test/
DTestVersionedInterfaces.cpp171 (const BufferDesc& desc, const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,