From 745c8933bc67f0eaf7996848f5188521fdf50d14 Mon Sep 17 00:00:00 2001 From: Katarzyna Mitrus Date: Mon, 23 Aug 2021 10:00:35 +0200 Subject: [PATCH] Fix v0::MVN default constructor (#7175) --- ngraph/core/include/ngraph/op/mvn.hpp | 2 +- ngraph/core/src/op/mvn.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ngraph/core/include/ngraph/op/mvn.hpp b/ngraph/core/include/ngraph/op/mvn.hpp index 406e289396305e..4b6cd70c63a0df 100644 --- a/ngraph/core/include/ngraph/op/mvn.hpp +++ b/ngraph/core/include/ngraph/op/mvn.hpp @@ -17,7 +17,7 @@ class NGRAPH_API MVN : public Op { public: NGRAPH_RTTI_DECLARATION; - MVN(); + MVN() = default; /// \brief Constructs an MVN operation. /// /// \param data Input tensor with data diff --git a/ngraph/core/src/op/mvn.cpp b/ngraph/core/src/op/mvn.cpp index b70c944a692f1e..6ab313d158355f 100644 --- a/ngraph/core/src/op/mvn.cpp +++ b/ngraph/core/src/op/mvn.cpp @@ -15,8 +15,6 @@ using namespace ngraph; NGRAPH_RTTI_DEFINITION(op::v0::MVN, "MVN", 0); -op::v0::MVN::MVN() : Op(), m_across_channels(), m_normalize_variance(), m_reduction_axes() {} - op::v0::MVN::MVN(const Output& data, bool across_channels, bool normalize_variance, double eps) : Op({data}), m_eps{eps},