ArmNN
 24.02
NeonSplitterWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "NeonBaseWorkload.hpp"
9 
10 #include <arm_compute/core/Error.h>
11 #include <arm_compute/runtime/IFunction.h>
12 
13 #include <functional>
14 
15 namespace armnn
16 {
17 
19  const std::vector<std::reference_wrapper<TensorInfo>>& outputs,
20  unsigned int splitAxis);
21 
22 class NeonSplitterWorkload : public NeonBaseWorkload<SplitterQueueDescriptor>
23 {
24 public:
26 
27  void Execute() const override;
28 
29 private:
30  mutable std::unique_ptr<arm_compute::IFunction> m_Layer;
31 };
32 
33 } //namespace armnn
armnn::NeonSplitterWorkload
Definition: NeonSplitterWorkload.hpp:22
NeonBaseWorkload.hpp
armnn::NeonSplitterWorkload::Execute
void Execute() const override
Definition: NeonSplitterWorkload.cpp:111
armnn::SplitterQueueDescriptor
Definition: WorkloadData.hpp:111
armnn::NeonSplitterWorkload::NeonSplitterWorkload
NeonSplitterWorkload(const SplitterQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonSplitterWorkload.cpp:56
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition: Types.hpp:42
armnn::NeonSplitterWorkloadValidate
arm_compute::Status NeonSplitterWorkloadValidate(const TensorInfo &input, const std::vector< std::reference_wrapper< TensorInfo >> &outputs, unsigned int splitAxis)
Definition: NeonSplitterWorkload.cpp:32
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13