Small cosmetic fixes (#3748)

This commit is contained in:
Ilya Churaev 2020-12-25 19:42:33 +03:00 committed by GitHub
parent 0547934c24
commit 6f77c72fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View File

@ -48,9 +48,7 @@ op::v1::Gather::Gather(const Output<Node>& params,
bool ngraph::op::v1::Gather::visit_attributes(AttributeVisitor& visitor) bool ngraph::op::v1::Gather::visit_attributes(AttributeVisitor& visitor)
{ {
NGRAPH_OP_SCOPE(v1_Gather_visit_attributes); NGRAPH_OP_SCOPE(v1_Gather_visit_attributes);
{ return true;
return true;
}
} }
void op::v1::Gather::validate_and_infer_types() void op::v1::Gather::validate_and_infer_types()

View File

@ -44,7 +44,6 @@ bool op::Parameter::visit_attributes(AttributeVisitor& visitor)
void op::Parameter::validate_and_infer_types() void op::Parameter::validate_and_infer_types()
{ {
NGRAPH_OP_SCOPE(v0_Parameter_validate_and_infer_types); NGRAPH_OP_SCOPE(v0_Parameter_validate_and_infer_types);
;
Op::validate_and_infer_types(); Op::validate_and_infer_types();
set_output_type(0, m_element_type, m_partial_shape); set_output_type(0, m_element_type, m_partial_shape);
} }

View File

@ -18,7 +18,6 @@
#include <iterator> #include <iterator>
#include <sstream> #include <sstream>
#include "itt.hpp" #include "itt.hpp"
#include "itt.hpp"
#include "ngraph/attribute_visitor.hpp" #include "ngraph/attribute_visitor.hpp"
#include "ngraph/function.hpp" #include "ngraph/function.hpp"