Searched refs:fromModel (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/runtime/ |
D | ExecutionPlan.h | 50 int addOperation(int operationIndex, const ModelBuilder& fromModel); 52 const ModelBuilder& fromModel, OperandKind kind); 83 int finishSubModel(const ModelBuilder* fromModel, bool* hasOutputOfUnknownSize, 207 int finish(const ModelBuilder* fromModel, int32_t executionPreference); 231 virtual int finish(const ModelBuilder* fromModel, int32_t executionPreference) = 0; 241 int finish(const ModelBuilder* fromModel, int32_t executionPreference) override; 251 int finish(const ModelBuilder* fromModel, int32_t executionPreference) override;
|
D | ExecutionPlan.cpp | 138 const ModelBuilder& fromModel, OperandKind kind) { in addOperand() argument 152 const Operand& operand = fromModel.getOperand(fromOperandIndex); in addOperand() 169 const uint8_t* data = fromModel.getPointerToOperandValue(operand.location.offset); in addOperand() 177 const Memory* memory = fromModel.getMemories()[operand.location.poolIndex]; in addOperand() 229 int ExecutionStep::addOperation(int operationIndex, const ModelBuilder& fromModel) { in addOperation() argument 230 const Operation& operation = fromModel.getOperation(operationIndex); in addOperation() 245 auto addOperands = [this, &fromModel](const hidl_vec<uint32_t>& globalOperands, in addOperation() 251 int n = addOperand(globalOperands[i], &localOperand, fromModel, kind); in addOperation() 349 int ExecutionStep::finishSubModel(const ModelBuilder* fromModel, bool* hasOutputOfUnknownSize, in finishSubModel() argument 355 mSubModel.relaxComputationFloat32toFloat16(fromModel->isComputationFloat32RelaxedToFloat16()); in finishSubModel() [all …]
|