From fb14ebbd68e04876809145296af96f6f41857418 Mon Sep 17 00:00:00 2001 From: James Ward Date: Thu, 26 Nov 2020 11:08:12 +0000 Subject: IVGCVSW-5348 Update Doxygen Docu * Update Doxygen Documentation for 20.11 release Signed-off-by: James Ward Change-Id: Ib47edac7923a642a277b1169d1085e5622021dc0 --- 20.11/_elementwise_base_layer_8hpp_source.xhtml | 122 ++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 20.11/_elementwise_base_layer_8hpp_source.xhtml (limited to '20.11/_elementwise_base_layer_8hpp_source.xhtml') diff --git a/20.11/_elementwise_base_layer_8hpp_source.xhtml b/20.11/_elementwise_base_layer_8hpp_source.xhtml new file mode 100644 index 0000000000..299a459a00 --- /dev/null +++ b/20.11/_elementwise_base_layer_8hpp_source.xhtml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/ElementwiseBaseLayer.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ElementwiseBaseLayer.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 <Layer.hpp>
9 
10 namespace armnn
11 {
12 
13 /// NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement:
14 /// std::unique_ptr<IWorkload> Layer::CreateWorkload(const IWorkloadFactory& factory) const = 0;
15 /// Layer* Clone(Graph& graph) const = 0;
17 {
18 public:
19  /// Check if the input tensor shape(s)
20  /// will lead to a valid configuration of the element wise operation.
21  /// @param [in] shapeInferenceMethod Indicates if output shape shall be overwritten or just validated.
22  void ValidateTensorShapesFromInputs() override;
23 
24  /// By default returns inputShapes if the number of inputs are equal to number of outputs,
25  /// otherwise infers the output shapes from given input shapes and layer properties.
26  /// @param [in] inputShapes The input shapes layer has.
27  /// @return A vector to the inferred output shape.
28  std::vector<TensorShape> InferOutputShapes(const std::vector<TensorShape>& inputShapes) const override;
29 
30 protected:
31  /// @param numInputSlots The number of input slots for the layer.
32  /// @param numOutputSlots The number of output slots for the layer.
33  /// @param type The layer type.
34  /// @param name Optional name for the layer.
35  ElementwiseBaseLayer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char* name);
36 
37  /// Default destructor
38  ~ElementwiseBaseLayer() = default;
39 };
40 
41 } // namespace
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
By default returns inputShapes if the number of inputs are equal to number of outputs, otherwise infers the output shapes from given input shapes and layer properties.
+
Copyright (c) 2020 ARM Limited.
+ +
NOTE: this is an abstract class to encapsulate the element wise operations, it does not implement: st...
+
ElementwiseBaseLayer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char *name)
+
~ElementwiseBaseLayer()=default
Default destructor.
+
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of the element wise operation...
+ + +
+
+ + + + -- cgit v1.2.1