24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_GRAPH_WORKLOAD_H
25 #define ARM_COMPUTE_GRAPH_WORKLOAD_H
101 std::vector<ExecutionTask>
tasks = {};
void prepare()
Prepare execution task.
INode * node
Node bound to this workload.
std::vector< ExecutionTask > tasks
Execution workload.
Base class for all functions.
ExecutionTask & operator=(const ExecutionTask &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
ExecutionTask(std::unique_ptr< arm_compute::IFunction > &&f, INode *n)
void operator()()
Function operator.
Graph * graph
Graph bound to the workload.
static TaskExecutor & get()
Task executor accessor.
std::vector< Tensor * > inputs
Input handles.
GraphContext * ctx
Graph execution context.
void execute_task(ExecutionTask &task)
std::unique_ptr< arm_compute::IFunction > task
Task to execute.
std::function< decltype(execute_task)> execute_function
Function that is responsible for executing tasks.
std::vector< Tensor * > outputs
Output handles.
Copyright (c) 2017-2024 Arm Limited.