Unverified Commit afe15127 authored by Jai Menon's avatar Jai Menon Committed by GitHub

Merge branch 'master' into jmenon/cpu

parents 2ad5fe08 3970b477
...@@ -33,7 +33,7 @@ void Reshape::propagate_types() ...@@ -33,7 +33,7 @@ void Reshape::propagate_types()
throw ngraph_error("Argument to reshape is missing type."); throw ngraph_error("Argument to reshape is missing type.");
} }
auto arg_tensor_view_type = dynamic_pointer_cast<const TensorViewType>(arg_type); auto arg_tensor_view_type = dynamic_pointer_cast<const TensorViewType>(arg_type);
if (nullptr == arg_type) if (nullptr == arg_tensor_view_type)
{ {
throw ngraph_error("Argument to reshape is not a tensor view"); throw ngraph_error("Argument to reshape is not a tensor view");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment