Commit ef46b4dd authored by Paul's avatar Paul
Browse files

Format

parent 25d16aff
...@@ -33,9 +33,10 @@ struct test_add_nhwc : verify_program<test_add_nhwc> ...@@ -33,9 +33,10 @@ struct test_add_nhwc : verify_program<test_add_nhwc>
{ {
migraphx::program p; migraphx::program p;
auto* mm = p.get_main_module(); auto* mm = p.get_main_module();
auto s = migraphx::shape::from_permutation(migraphx::version_1::shape::float_type, {4, 3, 8, 8}, {0,2,3,1}); auto s = migraphx::shape::from_permutation(
auto x = mm->add_parameter("x", s); migraphx::version_1::shape::float_type, {4, 3, 8, 8}, {0, 2, 3, 1});
auto y = mm->add_parameter("y", s); auto x = mm->add_parameter("x", s);
auto y = mm->add_parameter("y", s);
auto add = mm->add_instruction(migraphx::make_op("add"), x, y); auto add = mm->add_instruction(migraphx::make_op("add"), x, y);
mm->add_return({add}); mm->add_return({add});
return p; return p;
......
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