Home
last modified time | relevance | path

Searched refs:ioIndex (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NeuralNetworks/common/
DValidateHal.cpp890 NN_RET_CHECK_LT(role.ioIndex, inputIndexes.size()); in validateMemoryDesc()
893 const auto [it, success] = roles.emplace(preparedModel.get(), IOType::INPUT, role.ioIndex); in validateMemoryDesc()
895 operands.push_back(model->main.operands[inputIndexes[role.ioIndex]]); in validateMemoryDesc()
904 NN_RET_CHECK_LT(role.ioIndex, outputIndexes.size()); in validateMemoryDesc()
907 const auto [it, success] = roles.emplace(preparedModel.get(), IOType::OUTPUT, role.ioIndex); in validateMemoryDesc()
909 operands.push_back(model->main.operands[outputIndexes[role.ioIndex]]); in validateMemoryDesc()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp374 slDesc, pmodel->getCompilation().getHandle(), role.ioIndex, role.probability); in allocate()
383 const auto& op = model.getOperands()[model.getInputs()[role.ioIndex]]; in allocate()
412 slDesc, pmodel->getCompilation().getHandle(), role.ioIndex, role.probability); in allocate()
420 const auto& op = model.getOperands()[model.getOutputs()[role.ioIndex]]; in allocate()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.h67 int32_t ioIndex = -1; member
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp1264 NN_RET_CHECK_LT(role.ioIndex, inputIndexes.size()); in validateMemoryDescImpl()
1267 const auto [it, success] = roles.emplace(preparedModel.get(), IOType::INPUT, role.ioIndex); in validateMemoryDescImpl()
1269 operands.push_back(model->main.operands[inputIndexes[role.ioIndex]]); in validateMemoryDescImpl()
1278 NN_RET_CHECK_LT(role.ioIndex, outputIndexes.size()); in validateMemoryDescImpl()
1281 const auto [it, success] = roles.emplace(preparedModel.get(), IOType::OUTPUT, role.ioIndex); in validateMemoryDescImpl()
1283 operands.push_back(model->main.operands[outputIndexes[role.ioIndex]]); in validateMemoryDescImpl()
DTypeUtils.cpp687 << ", .ioIndex=" << bufferRole.ioIndex << ", .probability=" << bufferRole.probability in operator <<()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h852 uint32_t ioIndex = 0; member
/packages/modules/NeuralNetworks/runtime/
DMemory.cpp386 BufferRole role = {.modelIndex = modelIndex, .ioIndex = ind, .probability = prob}; in addRole()
DExecutionPlan.cpp2083 for (const auto& [stepIndex, type, ioIndex] : it->second) { in forEachStepRoleOfSourceOperand()
2086 callback(step->getPreparedStepModel().get(), type, ioIndex); in forEachStepRoleOfSourceOperand()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec7916 uint32_t ioIndex%{init_int};