Searched refs:bodyModelOperand (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/modules/NeuralNetworks/common/ |
H A D | LegacyUtils.cpp | 694 auto validateBodyOperand = [&](const Operand& bodyModelOperand) -> bool { in validateWhileOperation() argument 695 NN_RET_CHECK(helper.isValidSubgraphReference(bodyModelOperand)) in validateWhileOperation() 697 const uint32_t bodyModelInputCount = helper.getSubgraphInputCount(bodyModelOperand); in validateWhileOperation() 698 const uint32_t bodyModelOutputCount = helper.getSubgraphOutputCount(bodyModelOperand); in validateWhileOperation() 706 const Operand& innerOperand = *helper.getSubgraphInputOperand(bodyModelOperand, i); in validateWhileOperation() 713 const Operand& innerOperand = *helper.getSubgraphOutputOperand(bodyModelOperand, i); in validateWhileOperation() 719 const Operand& inputOperand = *helper.getSubgraphInputOperand(bodyModelOperand, i); in validateWhileOperation() 720 const Operand& outputOperand = *helper.getSubgraphOutputOperand(bodyModelOperand, i); in validateWhileOperation()
|
H A D | Validation.cpp | 1732 auto validateBodyOperand = [&](const Operand& bodyModelOperand) -> Result<Version> { in validateWhileOperation() argument 1734 auto result = validateSubgraphReference(subgraphs, bodyModelOperand); in validateWhileOperation() 1739 const uint32_t bodyModelInputCount = getInputCount(subgraphs, bodyModelOperand); in validateWhileOperation() 1740 const uint32_t bodyModelOutputCount = getOutputCount(subgraphs, bodyModelOperand); in validateWhileOperation() 1748 const Operand& innerOperand = getInputOperand(subgraphs, bodyModelOperand, i); in validateWhileOperation() 1757 const Operand& innerOperand = getOutputOperand(subgraphs, bodyModelOperand, i); in validateWhileOperation() 1764 const Operand& inputOperand = getInputOperand(subgraphs, bodyModelOperand, i); in validateWhileOperation() 1765 const Operand& outputOperand = getOutputOperand(subgraphs, bodyModelOperand, i); in validateWhileOperation()
|
H A D | CpuExecutor.cpp | 1734 const RunTimeOperandInfo& bodyModelOperand = operands[operation.inputs[op::kBodyModelOperand]]; in executeWhileOperation() local 1738 *reinterpret_cast<const Model::Subgraph*>(bodyModelOperand.buffer); in executeWhileOperation()
|