Home
last modified time | relevance | path

Searched refs:outerOperand (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/runtime/
DExecutionPlan.cpp1189 void ExecutionPlan::Controller::setInput(const SourceOperandIndex& outerOperand, in setInput() argument
1192 << toString(outerOperand); in setInput()
1204 if (auto it = mSourceOperandToOffsetOfTemporary.find(outerOperand); in setInput()
1207 } else if (auto it = mSourceOperandToInputIndex.find(outerOperand); in setInput()
1210 } else if (auto it = mSourceOperandToOutputIndex.find(outerOperand); in setInput()
1213 } else if (auto it = mSourceOperandToConstantReference.find(outerOperand); in setInput()
1218 << " from operand " << toString(outerOperand); in setInput()
1223 void ExecutionPlan::Controller::setOutput(const SourceOperandIndex& outerOperand, in setOutput() argument
1226 << toString(outerOperand); in setOutput()
1234 if (auto it = mSourceOperandToOffsetOfTemporary.find(outerOperand); in setOutput()
[all …]
DExecutionPlan.h459 void setInput(const SourceOperandIndex& outerOperand,
461 void setOutput(const SourceOperandIndex& outerOperand,
/frameworks/ml/nn/common/
DUtils.cpp746 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateIfOperation() local
747 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation()
751 const Operand& outerOperand = operands[outputs[i]]; in validateIfOperation() local
752 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateIfOperation()
799 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local
800 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation()
802 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, outerOperand)); in validateWhileOperation()
821 const Operand& outerOperand = operands[inputs[op::kFirstInput + i]]; in validateWhileOperation() local
822 NN_RET_CHECK(compatible(innerOperand, outerOperand)); in validateWhileOperation()
824 NN_RET_CHECK(validateControlFlowOperandUnknownSize(helper, outerOperand)); in validateWhileOperation()
[all …]
DCpuExecutor.cpp1896 RunTimeOperandInfo& outerOperand = operands[operation.outputs[i]]; in executeWhileOperation() local
1898 if (int error; !setInfoAndAllocateIfNeeded(&outerOperand, innerOperand.shape(), &error)) { in executeWhileOperation()
1901 CHECK_EQ(outerOperand.length, innerOperand.length); in executeWhileOperation()
1903 std::memcpy(outerOperand.buffer, innerOperand.buffer, innerOperand.length); in executeWhileOperation()