"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "30cde6dfd891b8a7ba0d6f29970d50fbbf3ca52b"
Commit d117d25d authored by Paul's avatar Paul
Browse files

Fix attribute name

parent 7e297b13
...@@ -73,7 +73,7 @@ TEST_CASE(conv_add) ...@@ -73,7 +73,7 @@ TEST_CASE(conv_add)
x, x,
w); w);
auto b = m1.add_instruction( auto b = m1.add_instruction(
migraphx::make_op("broadcast", {{"axis", 1}, {"dims", 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 +92,7 @@ TEST_CASE(conv_add) ...@@ -92,7 +92,7 @@ TEST_CASE(conv_add)
x, x,
w); w);
auto b = m2.add_instruction( auto b = m2.add_instruction(
migraphx::make_op("broadcast", {{"axis", 1}, {"dims", 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