1
// Copyright (C) 2018-2019 Intel Corporation
2
// SPDX-License-Identifier: Apache-2.0
7
#include <builders/ie_layer_decorator.hpp>
8
#include <ie_network.hpp>
12
namespace InferenceEngine {
16
* @brief The class represents a builder for Concat layer
18
class INFERENCE_ENGINE_API_CLASS(ConcatLayer): public LayerDecorator {
21
* @brief The constructor creates a builder with the name
22
* @param name Layer name
24
explicit ConcatLayer(const std::string& name = "");
26
* @brief The constructor creates a builder from generic builder
27
* @param layer pointer to generic builder
29
explicit ConcatLayer(const Layer::Ptr& layer);
31
* @brief The constructor creates a builder from generic builder
32
* @param layer constant pointer to generic builder
34
explicit ConcatLayer(const Layer::CPtr& layer);
36
* @brief Sets the name for the layer
37
* @param name Layer name
38
* @return reference to layer builder
40
ConcatLayer& setName(const std::string& name);
43
* @brief Returns vector with input ports
44
* @return vector with ports
46
const std::vector<Port>& getInputPorts() const;
48
* @brief Sets input ports
49
* @param ports Vector of input ports
50
* @return reference to layer builder
52
ConcatLayer& setInputPorts(const std::vector<Port>& ports);
54
* @brief Returns output port
57
const Port& getOutputPort() const;
59
* @brief Sets output port
60
* @param port Output port
61
* @return reference to layer builder
63
ConcatLayer& setOutputPort(const Port& port);
68
size_t getAxis() const;
72
* @return reference to layer builder
74
ConcatLayer& setAxis(size_t axis);
80
} // namespace Builder
81
} // namespace InferenceEngine