Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DAidlValidateHal.cpp39 const std::vector<aidl_hal::BufferRole>& inputRoles, in validateMemoryDesc() argument
46 NN_RET_CHECK(inputRoles.size() != 0 || outputRoles.size() != 0); in validateMemoryDesc()
50 operands.reserve(inputRoles.size() + outputRoles.size()); in validateMemoryDesc()
51 for (const auto& role : inputRoles) { in validateMemoryDesc()
DValidateHal.cpp871 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles, in validateMemoryDesc() argument
877 NN_RET_CHECK(inputRoles.size() != 0 || outputRoles.size() != 0); in validateMemoryDesc()
881 operands.reserve(inputRoles.size() + outputRoles.size()); in validateMemoryDesc()
882 for (const auto& role : inputRoles) { in validateMemoryDesc()
DValidation.cpp1269 const std::vector<BufferRole>& inputRoles, const std::vector<BufferRole>& outputRoles, in validateMemoryDescImpl() argument
1273 NN_VALIDATE(!inputRoles.empty() || !outputRoles.empty()); in validateMemoryDescImpl()
1277 operands.reserve(inputRoles.size() + outputRoles.size()); in validateMemoryDescImpl()
1278 for (const auto& role : inputRoles) { in validateMemoryDescImpl()
2824 const std::vector<BufferRole>& inputRoles, const std::vector<BufferRole>& outputRoles, in validateMemoryDesc() argument
2827 return validateMemoryDescImpl(desc, preparedModels, inputRoles, outputRoles, getModel, in validateMemoryDesc()
/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp111 const std::vector<BufferRole>& inputRoles, in allocate() argument
113 return kDevice->allocate(desc, preparedModels, inputRoles, outputRoles); in allocate()
DCanonicalDevice.cpp206 const std::vector<BufferRole>& inputRoles, in allocate() argument
220 if (const auto result = validateMemoryDesc(desc, preparedModels, inputRoles, outputRoles, in allocate()
DCanonicalDevice.h67 const std::vector<BufferRole>& inputRoles,
DLimitedSupportDevice.h74 const std::vector<BufferRole>& inputRoles,
DSampleDriver.h113 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles,
DSampleDriver.cpp250 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles, in allocate() argument
265 if (!validateMemoryDesc(desc, preparedModels, inputRoles, outputRoles, getModel, &roles, in allocate()
DSampleDriverFloatXNNPACK.cpp1859 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles,
1976 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles, in allocate() argument
/packages/modules/NeuralNetworks/common/include/
DAidlValidateHal.h37 const std::vector<aidl_hal::BufferRole>& inputRoles,
DValidateHal.h84 const hardware::hidl_vec<V1_3::BufferRole>& inputRoles,
/packages/modules/NeuralNetworks/runtime/
DMemory.cpp380 mDesc.inputRoles.push_back(role); in addRole()
418 LOG(INFO) << " Input roles [" << desc.inputRoles.size() << "]:"; in logMemoryDescriptorToInfo()
419 for (const auto& usage : desc.inputRoles) { in logMemoryDescriptorToInfo()
DMemory.h102 std::vector<BufferRole> inputRoles, outputRoles; member
DManager.cpp493 kInterface->allocate(bufferDesc, preparedModels, desc.inputRoles, desc.outputRoles); in allocate()
/packages/modules/NeuralNetworks/common/include/nnapi/
DIDevice.h351 const std::vector<BufferRole>& inputRoles,
DValidation.h78 const std::vector<BufferRole>& inputRoles, const std::vector<BufferRole>& outputRoles,
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimDevice.h44 const std::vector<BufferRole>& inputRoles,
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp320 const std::vector<BufferRole>& inputRoles, in allocate() argument
354 for (const auto& role : inputRoles) { in allocate()
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.h70 const std::vector<aidl_hal::BufferRole>& inputRoles,
DSampleDriver.cpp144 const std::vector<aidl_hal::BufferRole>& inputRoles, in allocate() argument
164 if (!validateMemoryDesc(desc, preparedModels, inputRoles, outputRoles, getModel, &roles, in allocate()