ArmNN
 21.02
NeonSpaceToDepthWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/TypesUtils.hpp>
9 
11 
12 #include <arm_compute/runtime/NEON/functions/NESpaceToDepthLayer.h>
13 
14 namespace armnn
15 {
16 
18  const TensorInfo& output,
19  const SpaceToDepthDescriptor& descriptor);
20 
21 class NeonSpaceToDepthWorkload : public BaseWorkload<SpaceToDepthQueueDescriptor>
22 {
23 public:
26  virtual void Execute() const override;
27 private:
28  mutable std::unique_ptr<arm_compute::NESpaceToDepthLayer> m_Layer;
29 };
30 
31 } //namespace armnn
arm_compute::Status NeonSpaceToDepthWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const SpaceToDepthDescriptor &descriptor)
Copyright (c) 2021 ARM Limited and Contributors.
Status
enumeration
Definition: Types.hpp:26
virtual void Execute() const override
NeonSpaceToDepthWorkload(const SpaceToDepthQueueDescriptor &descriptor, const WorkloadInfo &info)
Contains information about inputs and outputs to a layer.