Searched refs:preparedModels (Results 1 – 10 of 10) sorted by relevance
/frameworks/ml/nn/common/include/ |
D | ValidateHal.h | 89 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels,
|
/frameworks/ml/nn/runtime/ |
D | Manager.cpp | 259 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()
|
D | Memory.cpp | 392 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()
|
D | Memory.h | 100 ObjectTracker<PreparedModel> preparedModels; member
|
D | VersionedInterfaces.h | 371 const std::vector<std::shared_ptr<VersionedIPreparedModel>>& preparedModels,
|
D | VersionedInterfaces.cpp | 1531 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/ |
D | ValidateHal.cpp | 855 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/ |
D | SampleDriver.h | 110 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels,
|
D | SampleDriver.cpp | 242 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/ |
D | TestVersionedInterfaces.cpp | 171 (const BufferDesc& desc, const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,
|