Home
last modified time | relevance | path

Searched refs:condModelOperand (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp644 auto validateCondOperand = [&](const Operand& condModelOperand) -> bool { in validateWhileOperation() argument
645 NN_RET_CHECK(helper.isValidSubgraphReference(condModelOperand)) in validateWhileOperation()
647 const uint32_t condModelInputCount = helper.getSubgraphInputCount(condModelOperand); in validateWhileOperation()
648 const uint32_t condModelOutputCount = helper.getSubgraphOutputCount(condModelOperand); in validateWhileOperation()
652 const Operand& innerOperand = *helper.getSubgraphInputOperand(condModelOperand, i); in validateWhileOperation()
659 validateConditionOperand(*helper.getSubgraphOutputOperand(condModelOperand, 0))); in validateWhileOperation()
DCpuExecutor.cpp1734 const RunTimeOperandInfo& condModelOperand = operands[operation.inputs[op::kCondModelOperand]]; in executeWhileOperation() local
1737 *reinterpret_cast<const Model::Subgraph*>(condModelOperand.buffer); in executeWhileOperation()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp1664 auto validateCondOperand = [&](const Operand& condModelOperand) -> Result<Version> { in validateWhileOperation() argument
1666 auto result = validateSubgraphReference(subgraphs, condModelOperand); in validateWhileOperation()
1671 const uint32_t condModelInputCount = getInputCount(subgraphs, condModelOperand); in validateWhileOperation()
1672 const uint32_t condModelOutputCount = getOutputCount(subgraphs, condModelOperand); in validateWhileOperation()
1676 const Operand& innerOperand = getInputOperand(subgraphs, condModelOperand, i); in validateWhileOperation()
1684 NN_TRY(validateConditionOperand(getOutputOperand(subgraphs, condModelOperand, 0))); in validateWhileOperation()