Searched refs:outerOperand (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NeuralNetworks/common/ |
D | LegacyUtils.cpp | 601 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateIfOperation() local 602 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation() 606 const Operand& outerOperand = operands[outputs[i]]; in validateIfOperation() local 607 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation() 653 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 654 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation() 656 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, outerOperand)); in validateWhileOperation() 675 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 676 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation() 678 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, outerOperand)); in validateWhileOperation() [all …]
|
D | CpuExecutor.cpp | 1848 RunTimeOperandInfo& outerOperand = operands[operation.outputs[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/runtime/ |
D | ExecutionPlan.cpp | 1639 void ExecutionPlan::Controller::setInput(const SourceOperandIndex& outerOperand, in setInput() argument 1642 << toString(outerOperand); in setInput() 1654 if (auto it = mSourceOperandToLocationOfTemporary.find(outerOperand); in setInput() 1657 } else if (auto it = mSourceOperandToInputIndex.find(outerOperand); in setInput() 1660 } else if (auto it = mSourceOperandToOutputIndex.find(outerOperand); in setInput() 1663 } else if (auto it = mSourceOperandToConstantReference.find(outerOperand); in setInput() 1668 << " from operand " << toString(outerOperand); in setInput() 1673 void ExecutionPlan::Controller::setOutput(const SourceOperandIndex& outerOperand, in setOutput() argument 1676 << toString(outerOperand); in setOutput() 1684 if (auto it = mSourceOperandToLocationOfTemporary.find(outerOperand); in setOutput() [all …]
|
D | ExecutionPlan.h | 619 void setInput(const SourceOperandIndex& outerOperand, 621 void setOutput(const SourceOperandIndex& outerOperand,
|
/packages/modules/NeuralNetworks/common/types/src/ |
D | Validation.cpp | 1614 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateIfOperation() local 1615 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation() 1619 const Operand& outerOperand = operands[outputs[i]]; in validateIfOperation() local 1620 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation() 1677 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 1678 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation() 1682 NN_TRY(validateControlFlowOperandUnknownSize(outerOperand))); in validateWhileOperation() 1704 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 1705 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation() 1709 NN_TRY(validateControlFlowOperandUnknownSize(outerOperand))); in validateWhileOperation() [all …]
|