Home
last modified time | relevance | path

Searched refs:ExecutionStep (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.h231 class ExecutionStep {
238 ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex,
498 bool isExecution() const { return std::holds_alternative<ExecutionStep>(mStep); } in isExecution()
504 ExecutionStep* executionStep() { return &std::get<ExecutionStep>(mStep); } in executionStep()
510 const ExecutionStep* executionStep() const { return &std::get<ExecutionStep>(mStep); } in executionStep()
516 ExecutionStep* tryExecutionStep() { return std::get_if<ExecutionStep>(&mStep); } in tryExecutionStep()
522 const ExecutionStep* tryExecutionStep() const { return std::get_if<ExecutionStep>(&mStep); } in tryExecutionStep()
530 std::variant<ExecutionStep, IfStep, WhileStep, GotoStep> mStep;
703 ExecutionStep* createNewExecutionStep(uint32_t sourceModelIndex,
819 int nextCompound(const ExecutionStep* step, std::shared_ptr<Controller> controller,
DExecutionPlan.cpp220 void addRole(const ExecutionStep& step, uint32_t operandIndex, IOType type, in addRole()
404 ExecutionStep::ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, in ExecutionStep() function in android::nn::ExecutionStep
415 int ExecutionStep::addOperand(uint32_t sourceOperandIndex, uint32_t* stepOperandIndex, in addOperand()
515 int ExecutionStep::addOperation(int operationIndex) { in addOperation()
549 void ExecutionStep::mapInputsAndOutputs( in mapInputsAndOutputs()
632 if (const ExecutionStep* step = logicalStep->tryExecutionStep()) { in findModelOutputsThatAreDownstreamInputs()
655 if (const ExecutionStep* step = logicalStep->tryExecutionStep()) { in findTempsAsStepModelOutputs()
675 void ExecutionStep::declareModelOutputIsDownstreamInput(uint32_t mainModelOutputIndex) { in declareModelOutputIsDownstreamInput()
686 void ExecutionStep::recordTempAsStepModelOutput(uint32_t stepOperandIndex) { in recordTempAsStepModelOutput()
692 const ModelBuilder* ExecutionStep::getSourceModel() const { in getSourceModel()
[all …]
DExecutionBuilder.h48 class ExecutionStep; variable
325 const ExecutionStep* step = nullptr,
420 const ExecutionStep* mExecutionStep;
DExecutionBuilder.cpp1316 const ExecutionStep* step, DynamicTemporaries* dynamicTemporaries) in StepExecutor()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp162 using ExecutionStep = ::android::nn::ExecutionStep; typedef
996 using RemapVectorType = ExecutionStep::RemapVectorType;
997 using StepModelOutputSetType = ExecutionStep::StepModelOutputSetType;
1527 bool compare(const ExecutionStep* step, const PartitioningModel* model, in compare()
1543 const ExecutionStep* step = logicalStep->executionStep(); in compare()
DTestPartitioningRandom.cpp110 using ExecutionStep = nn::ExecutionStep; typedef