2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
7 #include "LayerWithParameters.hpp"
12 class MergerLayer : public LayerWithParameters<OriginsDescriptor>
15 virtual std::unique_ptr<IWorkload> CreateWorkload(const Graph& graph,
16 const IWorkloadFactory& factory) const override;
17 virtual void CreateTensorHandles(Graph& graph, const IWorkloadFactory& factory) override;
19 MergerLayer* Clone(Graph& graph) const override;
21 void ValidateTensorShapesFromInputs() override;
22 std::vector<TensorShape> InferOutputShapes(const std::vector<TensorShape>& inputShapes) const override;
25 MergerLayer(const OriginsDescriptor& param, const char* name);
26 ~MergerLayer() = default;