"vscode:/vscode.git/clone" did not exist on "56f7494fd441b758da3734e8a0be92991629ce0d"
Commit dd6540bd authored by Ted Themistokleous's avatar Ted Themistokleous Committed by Ted Themistokleous
Browse files

Add more verbose loggign for if_op shape errors

parent d799e44e
...@@ -54,7 +54,8 @@ struct if_op ...@@ -54,7 +54,8 @@ struct if_op
if(not std::equal( if(not std::equal(
out_shapes1.begin(), out_shapes1.end(), out_shapes0.begin(), out_shapes0.end())) out_shapes1.begin(), out_shapes1.end(), out_shapes0.begin(), out_shapes0.end()))
{ {
MIGRAPHX_THROW("IF: output shapes of submodules must be the same."); MIGRAPHX_THROW("IF:" + mods[0]->name() + " & " + mods[1]->name() +
" output shapes of submodules must be the same.");
} }
return {out_shapes0}; return {out_shapes0};
......
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