Commit 02ef1a0c authored by charlie's avatar charlie
Browse files

Fix parse_binary check bug

parent 0d141689
......@@ -58,7 +58,7 @@ struct parse_binary_op : op_parser<parse_binary_op>
if(broadcasted != 0)
{
if(std::any_of(
args.cbegin(), args.cend(), [](auto a) { a->get_shape().dynamic(); }))
args.cbegin(), args.cend(), [](auto a) { return a->get_shape().dynamic(); }))
{
MIGRAPHX_THROW(
"binary op broadcast attribute not supported for dynamic input shapes");
......
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