diff options
Diffstat (limited to 'arm_compute/graph/Workload.h')
-rw-r--r-- | arm_compute/graph/Workload.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arm_compute/graph/Workload.h b/arm_compute/graph/Workload.h index a36c28a181..8ff0a548ae 100644 --- a/arm_compute/graph/Workload.h +++ b/arm_compute/graph/Workload.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 ARM Limited. + * Copyright (c) 2018-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -69,8 +69,7 @@ public: */ struct ExecutionTask { - ExecutionTask(std::unique_ptr<arm_compute::IFunction> &&f, INode *n) - : task(std::move(f)), node(n) + ExecutionTask(std::unique_ptr<arm_compute::IFunction> &&f, INode *n) : task(std::move(f)), node(n) { } /** Prevent instances of this class from being copied (As this class contains pointers) */ @@ -97,11 +96,11 @@ struct ExecutionTask /** Execution workload */ struct ExecutionWorkload { - std::vector<Tensor *> inputs = {}; /**< Input handles */ - std::vector<Tensor *> outputs = {}; /**< Output handles */ - std::vector<ExecutionTask> tasks = {}; /**< Execution workload */ - Graph *graph = { nullptr }; /**< Graph bound to the workload */ - GraphContext *ctx = { nullptr }; /**< Graph execution context */ + std::vector<Tensor *> inputs = {}; /**< Input handles */ + std::vector<Tensor *> outputs = {}; /**< Output handles */ + std::vector<ExecutionTask> tasks = {}; /**< Execution workload */ + Graph *graph = {nullptr}; /**< Graph bound to the workload */ + GraphContext *ctx = {nullptr}; /**< Graph execution context */ }; } // namespace graph } // namespace arm_compute |