From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_concat_layer_8hpp_source.xhtml | 131 ++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 20.02/_concat_layer_8hpp_source.xhtml (limited to '20.02/_concat_layer_8hpp_source.xhtml') diff --git a/20.02/_concat_layer_8hpp_source.xhtml b/20.02/_concat_layer_8hpp_source.xhtml new file mode 100644 index 0000000000..56876c0811 --- /dev/null +++ b/20.02/_concat_layer_8hpp_source.xhtml @@ -0,0 +1,131 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/layers/ConcatLayer.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ConcatLayer.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 
12 /// This layer represents a merge operation.
13 class ConcatLayer : public LayerWithParameters<OriginsDescriptor>
14 {
15 public:
16  /// Makes a workload for the Concat type.
17  /// @param [in] graph The graph where this layer can be found.
18  /// @param [in] factory The workload factory which will create the workload.
19  /// @return A pointer to the created workload, or nullptr if not created.
20  virtual std::unique_ptr<IWorkload> CreateWorkload(const IWorkloadFactory& factory) const override;
21 
22  /// Set the outputs to be appropriate sub tensors of the input if sub tensors are supported
23  /// otherwise creates tensor handlers.
24  /// @param [in] registry Contains all the registered tensor handle factories available for use.
25  /// @param [in] factory The workload factory which will create the workload.
26  /// @param [in] IsMemoryManaged Determine whether or not to assign a memory manager during creation
27  virtual void CreateTensorHandles(const TensorHandleFactoryRegistry& registry,
28  const IWorkloadFactory& factory,
29  const bool IsMemoryManaged = true) override;
30 
31  /// Creates a dynamically-allocated copy of this layer.
32  /// @param [in] graph The graph into which this layer is being cloned.
33  ConcatLayer* Clone(Graph& graph) const override;
34 
35  /// Check if the input tensor shape(s)
36  /// will lead to a valid configuration of @ref ConcatLayer.
37  void ValidateTensorShapesFromInputs() override;
38 
39  /// By default returns inputShapes if the number of inputs are equal to number of outputs,
40  /// otherwise infers the output shapes from given input shapes and layer properties.
41  /// @param [in] inputShapes The input shapes layer has.
42  /// @return A vector to the inferred output shape.
43  std::vector<TensorShape> InferOutputShapes(const std::vector<TensorShape>& inputShapes) const override;
44 
45  void Accept(ILayerVisitor& visitor) const override;
46 
47 protected:
48  /// Constructor to create a ConcatLayer.
49  /// @param [in] param OriginsDescriptor to configure the concat operation.
50  /// @param [in] name Optional name for the layer.
51  ConcatLayer(const OriginsDescriptor& param, const char* name);
52 
53  /// Default destructor
54  ~ConcatLayer() = default;
55 
56 private:
57  template <typename FactoryType>
58  void CreateTensors(const FactoryType& factory);
59 
60 };
61 
62 } // namespace
ConcatLayer(const OriginsDescriptor &param, const char *name)
Constructor to create a ConcatLayer.
Definition: ConcatLayer.cpp:17
+ +
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.
+ +
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Concat type.
Definition: ConcatLayer.cpp:22
+
Copyright (c) 2020 ARM Limited.
+
ConcatLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
+
An OriginsDescriptor for the ConcatLayer.
+
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
+
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of ConcatLayer.
+
This layer represents a merge operation.
Definition: ConcatLayer.hpp:13
+ + +
~ConcatLayer()=default
Default destructor.
+
ClWorkloadFactory FactoryType
+ + +
virtual void CreateTensorHandles(const TensorHandleFactoryRegistry &registry, const IWorkloadFactory &factory, const bool IsMemoryManaged=true) override
Set the outputs to be appropriate sub tensors of the input if sub tensors are supported otherwise cre...
+
+
+ + + + -- cgit v1.2.1