Home
last modified time | relevance | path

Searched refs:innerOperand (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp1588 const SourceOperandIndex& innerOperand) { in setInput() argument
1589 VLOG(EXECUTION) << "mapping input " << toString(innerOperand) << " from " in setInput()
1592 CHECK_LE(mSourceOperandToLocationOfTemporary.count(innerOperand) + in setInput()
1593 mSourceOperandToInputIndex.count(innerOperand) + in setInput()
1594 mSourceOperandToOutputIndex.count(innerOperand) + in setInput()
1595 mSourceOperandToConstantReference.count(innerOperand), in setInput()
1598 mSourceOperandToLocationOfTemporary.erase(innerOperand); in setInput()
1599 mSourceOperandToInputIndex.erase(innerOperand); in setInput()
1600 mSourceOperandToOutputIndex.erase(innerOperand); in setInput()
1601 mSourceOperandToConstantReference.erase(innerOperand); in setInput()
[all …]
DExecutionPlan.h620 const SourceOperandIndex& innerOperand);
622 const SourceOperandIndex& innerOperand);
/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp632 const Operand& innerOperand = *helper.getSubgraphInputOperand(branchModelOperand, i); in validateIfOperation() local
634 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation()
637 const Operand& innerOperand = *helper.getSubgraphOutputOperand(branchModelOperand, i); in validateIfOperation() local
639 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation()
684 const Operand& innerOperand = *helper.getSubgraphInputOperand(condModelOperand, i); in validateWhileOperation() local
686 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation()
687 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, innerOperand)); in validateWhileOperation()
706 const Operand& innerOperand = *helper.getSubgraphInputOperand(bodyModelOperand, i); in validateWhileOperation() local
708 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation()
709 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, innerOperand)); in validateWhileOperation()
[all …]
DValidation.cpp1659 const Operand& innerOperand = getInputOperand(subgraphs, branchModelOperand, i); in validateIfOperation() local
1661 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation()
1664 const Operand& innerOperand = getOutputOperand(subgraphs, branchModelOperand, i); in validateIfOperation() local
1666 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation()
1721 const Operand& innerOperand = getInputOperand(subgraphs, condModelOperand, i); in validateWhileOperation() local
1723 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation()
1725 NN_TRY(validateControlFlowOperandUnknownSize(innerOperand))); in validateWhileOperation()
1748 const Operand& innerOperand = getInputOperand(subgraphs, bodyModelOperand, i); in validateWhileOperation() local
1750 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation()
1752 NN_TRY(validateControlFlowOperandUnknownSize(innerOperand))); in validateWhileOperation()
[all …]
DCpuExecutor.cpp1848 RunTimeOperandInfo& innerOperand = condOperands[condSubgraph.inputIndexes[i]]; in executeWhileOperation() local
1849 if (int error; !setInfoAndAllocateIfNeeded(&outerOperand, innerOperand.shape(), &error)) { in executeWhileOperation()
1852 CHECK_EQ(outerOperand.length, innerOperand.length); in executeWhileOperation()
1854 std::memcpy(outerOperand.buffer, innerOperand.buffer, innerOperand.length); in executeWhileOperation()