Commit 8734b6ad authored by Paul's avatar Paul
Browse files

Check for single output

parent bdcd2fc6
...@@ -252,8 +252,8 @@ struct miopen_conv_bias_relu ...@@ -252,8 +252,8 @@ struct miopen_conv_bias_relu
template <class... Ms> template <class... Ms>
auto conv_bias(Ms... ms) auto conv_bias(Ms... ms)
{ {
return match::name("gpu::add")(match::either_arg(0, 1)(match::arg(0)(bias_shape()).bind("bias"), return match::name("gpu::add")(match::either_arg(0, 1)(match::arg(0)(bias_shape(match::output())).bind("bias"),
fusable_conv().bind("conv")), fusable_conv(match::output()).bind("conv")), match::output(),
ms...); ms...);
} }
......
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