ArmNN
 24.08
RefScatterNdWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2024 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "RefBaseWorkload.hpp"
10 
11 #include "ScatterNd.hpp"
12 
13 namespace armnn
14 {
15 
16  class RefScatterNdWorkload : public RefBaseWorkload<ScatterNdQueueDescriptor>
17  {
18  public:
19  explicit RefScatterNdWorkload(const ScatterNdQueueDescriptor& descriptor,
20  const WorkloadInfo& info);
21 
22  void Execute() const override;
23  void ExecuteAsync(ExecutionData& executionData) override;
24 
25  private:
26  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
27 
28  };
29 
30 } // namespace armnn
WorkloadData.hpp
armnn::RefScatterNdWorkload
Definition: RefScatterNdWorkload.hpp:16
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::ScatterNdQueueDescriptor
Definition: WorkloadData.hpp:773
armnn::RefScatterNdWorkload::Execute
void Execute() const override
Definition: RefScatterNdWorkload.cpp:19
armnn::BoostLogSeverityMapping::info
@ info
ScatterNd.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::RefScatterNdWorkload::RefScatterNdWorkload
RefScatterNdWorkload(const ScatterNdQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: RefScatterNdWorkload.cpp:15
RefBaseWorkload.hpp
armnn::RefScatterNdWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefScatterNdWorkload.cpp:24
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14