Skip to content

Commit

Permalink
Fixed typo in snippets (#5781)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyachur authored May 25, 2021
1 parent 6176366 commit 7a31e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/snippets/example_ngraph_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ auto consumers = output.get_target_inputs();
{
// ! [ngraph:shape]
auto partial_shape = node->input(0).get_partial_shape(); // get zero input partial shape
if (partial_shape.is_dynamic() /* or !partial_shape.is_staic() */) {
if (partial_shape.is_dynamic() /* or !partial_shape.is_static() */) {
return false;
}
auto static_shape = partial_shape.get_shape();
Expand Down Expand Up @@ -311,4 +311,4 @@ void pass_manager_example3(std::shared_ptr<ngraph::Function> f) {
manager.run_passes(f);
}
// ! [ngraph:disabled_by_default]
}
}

0 comments on commit 7a31e29

Please sign in to comment.