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