ArmNN  NotReleased
BatchToSpaceNdLayer.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
8 
9 namespace armnn
10 {
11 
13 class BatchToSpaceNdLayer : public LayerWithParameters<BatchToSpaceNdDescriptor>
14 {
15 public:
20  virtual std::unique_ptr<IWorkload> CreateWorkload(const IWorkloadFactory& factory) const override;
21 
24  BatchToSpaceNdLayer* Clone(Graph& graph) const override;
25 
28  void ValidateTensorShapesFromInputs() override;
29 
34  std::vector<TensorShape> InferOutputShapes(const std::vector<TensorShape>& inputShapes) const override;
35 
36  void Accept(ILayerVisitor& visitor) const override;
37 
38 protected:
42  BatchToSpaceNdLayer(const BatchToSpaceNdDescriptor& param, const char* name);
43 
45  ~BatchToSpaceNdLayer() = default;
46 };
47 
48 } // namespace
This layer represents a BatchToSpaceNd operation.
A BatchToSpaceNdDescriptor for the BatchToSpaceNdLayer.
~BatchToSpaceNdLayer()=default
Default destructor.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
BatchToSpaceNdLayer(const BatchToSpaceNdDescriptor &param, const char *name)
BatchToSpaceNdLayer * Clone(Graph &graph) const override
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
void Accept(ILayerVisitor &visitor) const override
void ValidateTensorShapesFromInputs() override