Fixed typo in snippets (#5781)
This commit is contained in:
1 parent
617636693a
commit
7a31e29517
1 file changed
+2
-2
@@ -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<ngraph::Function> f) {
|
||||
manager.run_passes(f);
|
||||
}
|
||||
// ! [ngraph:disabled_by_default]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user