From 7a31e295171eb33c8c882a2bce898899d7d7556d Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Tue, 25 May 2021 11:45:10 +0300 Subject: [PATCH] Fixed typo in snippets (#5781) --- docs/snippets/example_ngraph_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/snippets/example_ngraph_utils.cpp b/docs/snippets/example_ngraph_utils.cpp index 44780aa4615..380f7421f2e 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 +}