Lines Matching refs:fromModel
272 const ModelBuilder& fromModel, OperandKind kind) { in addOperand() argument
286 const Operand& operand = fromModel.getOperand(fromOperandIndex); in addOperand()
310 const uint8_t* data = fromModel.getPointerToOperandValue(operand.location.offset); in addOperand()
318 const Memory* memory = fromModel.getMemories()[operand.location.poolIndex]; in addOperand()
370 int ExecutionStep::addOperation(int operationIndex, const ModelBuilder& fromModel) { in addOperation() argument
371 const Operation& operation = fromModel.getOperation(operationIndex); in addOperation()
389 auto addOperands = [this, &fromModel](const hidl_vec<uint32_t>& globalOperands, in addOperation()
395 int n = addOperand(globalOperands[i], &localOperand, fromModel, kind); in addOperation()
493 int ExecutionStep::finishSubModel(const ModelBuilder* fromModel, bool* hasOutputOfUnknownSize, in finishSubModel() argument
500 mSubModel.relaxComputationFloat32toFloat16(fromModel->isComputationFloat32RelaxedToFloat16()); in finishSubModel()
509 fromModel->inputCount(), in finishSubModel()
510 [=](uint32_t i) { return fromModel->getInputOperandIndex(i); }, in finishSubModel()
522 fromModel->outputCount(), in finishSubModel()
523 [=](uint32_t i) { return fromModel->getOutputOperandIndex(i); }, in finishSubModel()
560 for (unsigned i = 0, e = fromModel->outputCount(); i < e; ++i) { in finishSubModel()
561 fromModelOperandIndexToOutputIndex[fromModel->getOutputOperandIndex(i)] = i; in finishSubModel()
591 int ExecutionPlan::CompoundBody::finish(const ModelBuilder* fromModel, in finish() argument
595 int n = step->finishSubModel(fromModel, &mHasSubModelOutputOfUnknownSize, in finish()
611 int ExecutionPlan::SimpleBody::finish([[maybe_unused]] const ModelBuilder* fromModel, in finish() argument
621 int ExecutionPlan::finish(const ModelBuilder* fromModel, int32_t executionPreference) { in finish() argument
623 return mBody->finish(fromModel, executionPreference); in finish()
709 const ModelBuilder* fromModel = executionBuilder->getModel(); in makeController() local
713 const Operand& fromModelOperand = fromModel->getOperand(fromModelOperandIndex); in makeController()