Commit 3f4d78bd authored by Paul's avatar Paul
Browse files

Format

parent d117d25d
...@@ -73,7 +73,8 @@ TEST_CASE(conv_add) ...@@ -73,7 +73,8 @@ TEST_CASE(conv_add)
x, x,
w); w);
auto b = m1.add_instruction( auto b = m1.add_instruction(
migraphx::make_op("broadcast", {{"axis", 1}, {"out_lens", conv->get_shape().lens()}}), y); migraphx::make_op("broadcast", {{"axis", 1}, {"out_lens", conv->get_shape().lens()}}),
y);
m1.add_instruction(migraphx::make_op("add"), conv, b); m1.add_instruction(migraphx::make_op("add"), conv, b);
} }
run_pass(m1); run_pass(m1);
...@@ -92,7 +93,8 @@ TEST_CASE(conv_add) ...@@ -92,7 +93,8 @@ TEST_CASE(conv_add)
x, x,
w); w);
auto b = m2.add_instruction( auto b = m2.add_instruction(
migraphx::make_op("broadcast", {{"axis", 1}, {"out_lens", conv->get_shape().lens()}}), y); migraphx::make_op("broadcast", {{"axis", 1}, {"out_lens", conv->get_shape().lens()}}),
y);
auto add = m2.add_instruction(migraphx::make_op("add"), conv, b); auto add = m2.add_instruction(migraphx::make_op("add"), conv, b);
m2.add_instruction(layout(), add); m2.add_instruction(layout(), add);
} }
......
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