ArmNN  NotReleased
ElementwiseBaseLayer.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 <Layer.hpp>
9 
10 namespace armnn
11 {
12 
17 {
18 public:
21  void ValidateTensorShapesFromInputs() override;
22 
27  std::vector<TensorShape> InferOutputShapes(const std::vector<TensorShape>& inputShapes) const override;
28 
29 protected:
34  ElementwiseBaseLayer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char* name);
35 
37  ~ElementwiseBaseLayer() = default;
38 };
39 
40 } // namespace
~ElementwiseBaseLayer()=default
Default destructor.
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
void ValidateTensorShapesFromInputs() override
ElementwiseBaseLayer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char *name)