From 6f77c72fc7a2feeec13a440cbf146179eb8c525e Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Fri, 25 Dec 2020 19:42:33 +0300 Subject: [PATCH] Small cosmetic fixes (#3748) --- ngraph/core/src/op/gather.cpp | 4 +--- ngraph/core/src/op/parameter.cpp | 1 - ngraph/core/src/op/reverse.cpp | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ngraph/core/src/op/gather.cpp b/ngraph/core/src/op/gather.cpp index 6c536573f19..17c127bd626 100644 --- a/ngraph/core/src/op/gather.cpp +++ b/ngraph/core/src/op/gather.cpp @@ -48,9 +48,7 @@ op::v1::Gather::Gather(const Output& params, bool ngraph::op::v1::Gather::visit_attributes(AttributeVisitor& visitor) { NGRAPH_OP_SCOPE(v1_Gather_visit_attributes); - { - return true; - } + return true; } void op::v1::Gather::validate_and_infer_types() diff --git a/ngraph/core/src/op/parameter.cpp b/ngraph/core/src/op/parameter.cpp index 46e12cfc60f..ed8891cc616 100644 --- a/ngraph/core/src/op/parameter.cpp +++ b/ngraph/core/src/op/parameter.cpp @@ -44,7 +44,6 @@ bool op::Parameter::visit_attributes(AttributeVisitor& visitor) void op::Parameter::validate_and_infer_types() { NGRAPH_OP_SCOPE(v0_Parameter_validate_and_infer_types); - ; Op::validate_and_infer_types(); set_output_type(0, m_element_type, m_partial_shape); } diff --git a/ngraph/core/src/op/reverse.cpp b/ngraph/core/src/op/reverse.cpp index dd59e7a5b5a..d2aaf904207 100644 --- a/ngraph/core/src/op/reverse.cpp +++ b/ngraph/core/src/op/reverse.cpp @@ -18,7 +18,6 @@ #include #include #include "itt.hpp" -#include "itt.hpp" #include "ngraph/attribute_visitor.hpp" #include "ngraph/function.hpp"