Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyachur committed Sep 2, 2021
1 parent 9a16e78 commit 47f2271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ngraph/core/src/pass/visualize_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,11 @@ std::string pass::VisualizeTree::get_constant_value(std::shared_ptr<Node> node,
ss << "{" << node->get_element_type().get_type_name() << "}";
ss << pretty_partial_shape(node->get_output_partial_shape(0));

if (!op::is_constant(node))
if (!ngraph::op::is_constant(node))
return ss.str();

ss << "\nvalue: ";
const auto constant = ov::as_type_ptr<op::Constant>(node);
const auto constant = ov::as_type_ptr<ngraph::op::Constant>(node);
switch (constant->get_output_element_type(0)) {
case element::Type_t::undefined:
ss << "[ undefined value ]";
Expand Down

0 comments on commit 47f2271

Please sign in to comment.