Home
last modified time | relevance | path

Searched refs:fromModel (Results 1 – 2 of 2) sorted by relevance

/frameworks/ml/nn/runtime/
DExecutionPlan.h55 int addOperation(int operationIndex, const ModelBuilder& fromModel);
57 const ModelBuilder& fromModel, OperandKind kind);
91 int finishSubModel(const ModelBuilder* fromModel, bool* hasOutputOfUnknownSize,
228 int finish(const ModelBuilder* fromModel, int32_t executionPreference);
264 virtual int finish(const ModelBuilder* fromModel, int32_t executionPreference) = 0;
275 int finish(const ModelBuilder* fromModel, int32_t executionPreference) override;
288 int finish(const ModelBuilder* fromModel, int32_t executionPreference) override;
DExecutionPlan.cpp272 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()
[all …]