Commit 56980738 authored by Nick Korovaiko's avatar Nick Korovaiko Committed by Scott Cyphers

add a throw in lieu of a return stmt (#2183)

parent 504e78f8
...@@ -404,6 +404,8 @@ namespace ngraph ...@@ -404,6 +404,8 @@ namespace ngraph
convolution->get_padding_below_forward(), convolution->get_padding_below_forward(),
convolution->get_padding_above_forward()); convolution->get_padding_above_forward());
} }
throw ngraph_error(std::string("Unknown op ") + convolution->get_name());
} }
size_t build_pooling_forward(mkldnn::algorithm pooling_algorithm, size_t build_pooling_forward(mkldnn::algorithm pooling_algorithm,
......
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