Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp1640 const SourceOperandIndex& innerOperand) { in setInput() argument
1641 VLOG(EXECUTION) << "mapping input " << toString(innerOperand) << " from " in setInput()
1644 CHECK_LE(mSourceOperandToLocationOfTemporary.count(innerOperand) + in setInput()
1645 mSourceOperandToInputIndex.count(innerOperand) + in setInput()
1646 mSourceOperandToOutputIndex.count(innerOperand) + in setInput()
1647 mSourceOperandToConstantReference.count(innerOperand), in setInput()
1650 mSourceOperandToLocationOfTemporary.erase(innerOperand); in setInput()
1651 mSourceOperandToInputIndex.erase(innerOperand); in setInput()
1652 mSourceOperandToOutputIndex.erase(innerOperand); in setInput()
1653 mSourceOperandToConstantReference.erase(innerOperand); in setInput()
[all …]
DExecutionPlan.h620 const SourceOperandIndex& innerOperand);
622 const SourceOperandIndex& innerOperand);
/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp600 const Operand& innerOperand = *helper.getSubgraphInputOperand(branchModelOperand, i); in validateIfOperation() local
602 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation()
605 const Operand& innerOperand = *helper.getSubgraphOutputOperand(branchModelOperand, i); in validateIfOperation() local
607 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation()
652 const Operand& innerOperand = *helper.getSubgraphInputOperand(condModelOperand, i); in validateWhileOperation() local
654 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation()
655 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, innerOperand)); in validateWhileOperation()
674 const Operand& innerOperand = *helper.getSubgraphInputOperand(bodyModelOperand, i); in validateWhileOperation() local
676 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation()
677 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, innerOperand)); in validateWhileOperation()
[all …]
DCpuExecutor.cpp1849 RunTimeOperandInfo& innerOperand = condOperands[condSubgraph.inputIndexes[i]]; in executeWhileOperation() local
1850 if (int error; !setInfoAndAllocateIfNeeded(&outerOperand, innerOperand.shape(), &error)) { in executeWhileOperation()
1853 CHECK_EQ(outerOperand.length, innerOperand.length); in executeWhileOperation()
1855 std::memcpy(outerOperand.buffer, innerOperand.buffer, innerOperand.length); in executeWhileOperation()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp1613 const Operand& innerOperand = getInputOperand(subgraphs, branchModelOperand, i); in validateIfOperation() local
1615 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation()
1618 const Operand& innerOperand = getOutputOperand(subgraphs, branchModelOperand, i); in validateIfOperation() local
1620 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation()
1676 const Operand& innerOperand = getInputOperand(subgraphs, condModelOperand, i); in validateWhileOperation() local
1678 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation()
1680 NN_TRY(validateControlFlowOperandUnknownSize(innerOperand))); in validateWhileOperation()
1703 const Operand& innerOperand = getInputOperand(subgraphs, bodyModelOperand, i); in validateWhileOperation() local
1705 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation()
1707 NN_TRY(validateControlFlowOperandUnknownSize(innerOperand))); in validateWhileOperation()
[all …]