ArmNN
 20.02
NeonBatchToSpaceNdWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/Tensor.hpp>
9 #include <armnn/Descriptors.hpp>
10 
12 
13 #include <arm_compute/runtime/NEON/functions/NEBatchToSpaceLayer.h>
14 
15 namespace armnn
16 {
17 
19  const TensorInfo& output,
20  const BatchToSpaceNdDescriptor& descriptor);
21 
22 class NeonBatchToSpaceNdWorkload : public BaseWorkload<BatchToSpaceNdQueueDescriptor>
23 {
24 public:
26 
28 
29  virtual void Execute() const override;
30 
31 private:
32  mutable std::unique_ptr<arm_compute::NEBatchToSpaceLayer> m_Layer;
33 };
34 
35 }
Copyright (c) 2020 ARM Limited.
Status
enumeration
Definition: Types.hpp:26
arm_compute::Status NeonBatchToSpaceNdWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const BatchToSpaceNdDescriptor &desc)
NeonBatchToSpaceNdWorkload(const BatchToSpaceNdQueueDescriptor &descriptor, const WorkloadInfo &info)
Contains information about inputs and outputs to a layer.