diff --git a/docs/snippets/example_ngraph_utils.cpp b/docs/snippets/example_ngraph_utils.cpp index 44780aa4615e2f..380f7421f2ed00 100644 --- a/docs/snippets/example_ngraph_utils.cpp +++ b/docs/snippets/example_ngraph_utils.cpp @@ -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(); @@ -311,4 +311,4 @@ void pass_manager_example3(std::shared_ptr f) { manager.run_passes(f); } // ! [ngraph:disabled_by_default] -} \ No newline at end of file +}