Searched refs:outerOperand (Results 1 – 5 of 5) sorted by relevance
/aosp12/packages/modules/NeuralNetworks/common/ |
H A D | LegacyUtils.cpp | 633 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateIfOperation() local 634 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation() 638 const Operand& outerOperand = operands[outputs[i]]; in validateIfOperation() local 639 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation() 685 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 686 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation() 688 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, outerOperand)); in validateWhileOperation() 707 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 708 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation() 714 const Operand& outerOperand = operands[outputs[i]]; in validateWhileOperation() local [all …]
|
H A D | Validation.cpp | 1660 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateIfOperation() local 1661 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation() 1665 const Operand& outerOperand = operands[outputs[i]]; in validateIfOperation() local 1666 NN_TRY(compatible(innerOperand, outerOperand)); in validateIfOperation() 1722 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 1723 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation() 1727 NN_TRY(validateControlFlowOperandUnknownSize(outerOperand))); in validateWhileOperation() 1749 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local 1750 NN_TRY(compatible(innerOperand, outerOperand)); in validateWhileOperation() 1758 const Operand& outerOperand = operands[outputs[i]]; in validateWhileOperation() local [all …]
|
H A D | CpuExecutor.cpp | 1847 RunTimeOperandInfo& outerOperand = operands[operation.outputs[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()
|
/aosp12/packages/modules/NeuralNetworks/runtime/ |
H A D | ExecutionPlan.cpp | 1587 void ExecutionPlan::Controller::setInput(const SourceOperandIndex& outerOperand, in setInput() argument 1590 << toString(outerOperand); in setInput() 1602 if (auto it = mSourceOperandToLocationOfTemporary.find(outerOperand); in setInput() 1605 } else if (auto it = mSourceOperandToInputIndex.find(outerOperand); in setInput() 1608 } else if (auto it = mSourceOperandToOutputIndex.find(outerOperand); in setInput() 1611 } else if (auto it = mSourceOperandToConstantReference.find(outerOperand); in setInput() 1616 << " from operand " << toString(outerOperand); in setInput() 1624 << toString(outerOperand); in setOutput() 1632 if (auto it = mSourceOperandToLocationOfTemporary.find(outerOperand); in setOutput() 1635 } else if (auto it = mSourceOperandToOutputIndex.find(outerOperand); in setOutput() [all …]
|
H A D | ExecutionPlan.h | 619 void setInput(const SourceOperandIndex& outerOperand, 621 void setOutput(const SourceOperandIndex& outerOperand,
|