Commit 0d688830 authored by gaurides's avatar gaurides Committed by Scott Cyphers

Add default constructor to some ops missing them (#3924)

parent 4c5dbf07
......@@ -28,6 +28,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"CTCGreedyDecoder", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
CTCGreedyDecoder() = default;
/// \brief Constructs a CTCGreedyDecoder operation
///
/// \param input Logits on which greedy decoding is performed
......
......@@ -50,6 +50,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"DetectionOutput", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
DetectionOutput() = default;
/// \brief Constructs a DetectionOutput operation
///
/// \param box_logits Box logits
......
......@@ -39,6 +39,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"Interpolate", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
Interpolate() = default;
/// \brief Constructs a Interpolate operation
///
/// \param image Input image
......
......@@ -52,6 +52,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"PriorBox", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
PriorBox() = default;
/// \brief Constructs a PriorBox operation
///
/// \param layer_shape Shape of layer for which prior boxes are computed
......
......@@ -48,6 +48,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"PriorBoxClustered", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
PriorBoxClustered() = default;
/// \brief Constructs a PriorBoxClustered operation
///
/// \param layer_shape Shape of layer for which prior boxes are computed
......
......@@ -60,6 +60,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"Proposal", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
Proposal() = default;
/// \brief Constructs a Proposal operation
///
/// \param class_probs Class probability scores
......
......@@ -28,6 +28,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"PSROIPooling", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
PSROIPooling() = default;
/// \brief Constructs a PSROIPooling operation
///
/// \param input Input feature map {N, C, ...}
......
......@@ -28,6 +28,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"RegionYolo", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
RegionYolo() = default;
///
/// \brief Constructs a RegionYolo operation
///
......
......@@ -28,6 +28,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"ReorgYolo", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
ReorgYolo() = default;
/// \brief Constructs a ReorgYolo operation
///
/// \param input Input
......
......@@ -28,6 +28,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"ROIPooling", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
ROIPooling() = default;
/// \brief Constructs a ROIPooling operation
///
/// \param input Input feature map {N, C, ...}
......
......@@ -69,6 +69,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"QuantizedConvolutionBiasAdd", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
QuantizedConvolutionBiasAdd() = default;
QuantizedConvolutionBiasAdd(const Output<Node>& data_batch,
const Output<Node>& filters,
const Output<Node>& bias,
......@@ -109,6 +110,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"QuantizedConvolutionBiasSignedAdd", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
QuantizedConvolutionBiasSignedAdd() = default;
QuantizedConvolutionBiasSignedAdd(const Output<Node>& data_batch,
const Output<Node>& filters,
const Output<Node>& bias,
......
......@@ -35,6 +35,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"Clamp", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
Clamp() = default;
/// \brief Constructs a Clamp node.
///
/// \param data - Node producing the input tensor
......
......@@ -44,6 +44,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"GRUCell", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
GRUCell() = default;
///
/// \brief Constructs GRUCell node.
///
......
......@@ -72,6 +72,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"LSTMCell", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
LSTMCell() = default;
///
/// \brief Constructs LSTMCell node.
///
......
......@@ -54,6 +54,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"RNNCell", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
RNNCell() = default;
///
/// \brief Constructs RNNCell node.
///
......
......@@ -33,6 +33,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"Selu", 1};
const NodeTypeInfo& get_type_info() const override { return type_info; }
Selu() = default;
/// \brief Constructs a Selu node.
///
/// \param data - Node producing the input tensor
......
......@@ -31,6 +31,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"GetOutputElement", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
GetOutputElement() = default;
/// \brief Constructs a get-tuple-element operation.
///
/// \param arg The input tuple.
......
......@@ -34,6 +34,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"LogicalOr", 1};
const NodeTypeInfo& get_type_info() const override { return type_info; }
LogicalOr() = default;
/// \brief Constructs a logical-or operation.
///
/// \param arg0 Node that produces the first input tensor.<br>
......@@ -65,6 +66,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"Or", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
Or() = default;
/// \brief Constructs a logical-or operation.
///
/// \param arg0 Node that produces the first input tensor.<br>
......
......@@ -28,6 +28,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"QuantizedDot", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
QuantizedDot() = default;
/// \brief Constructs a quantized convolution operation.
///
/// \param input0 The node producing the input data batch tensor.
......
......@@ -56,6 +56,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"ReluBackprop", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
ReluBackprop() = default;
/// \brief Constructs a ReluBackprop operation.
///
/// \param arg Node that produces the relu forward input tensor.
......
......@@ -34,6 +34,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"LogicalXor", 1};
const NodeTypeInfo& get_type_info() const override { return type_info; }
LogicalXor() = default;
/// \brief Constructs a logical-xor operation.
///
/// \param arg0 Node that produces the first input tensor.<br>
......@@ -65,6 +66,7 @@ namespace ngraph
NGRAPH_API
static constexpr NodeTypeInfo type_info{"Xor", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
Xor() = default;
/// \brief Constructs a logical-xor operation.
///
/// \param arg0 Node that produces the first input tensor.<br>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment