Commit e72668cc authored by Paul's avatar Paul
Browse files

Formatting

parent d99f4860
...@@ -398,7 +398,7 @@ struct mlir_program ...@@ -398,7 +398,7 @@ struct mlir_program
auto fbody = insert(mbody, m, ins_map); auto fbody = insert(mbody, m, ins_map);
for(auto ins : iterator_for(m)) for(auto ins : iterator_for(m))
{ {
if (ins->name() == "@param") if(ins->name() == "@param")
continue; continue;
auto name = "migraphx." + ins->name(); auto name = "migraphx." + ins->name();
auto ops = create_operation_state(name); auto ops = create_operation_state(name);
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
TEST_CASE(conv) TEST_CASE(conv)
{ {
migraphx::module m; migraphx::module m;
auto x = m.add_parameter("x", {migraphx::shape::float_type, {1, 8, 4, 4}}); auto x = m.add_parameter("x", {migraphx::shape::float_type, {1, 8, 4, 4}});
auto w = m.add_parameter("w", {migraphx::shape::float_type, {2, 8, 3, 3}}); auto w = m.add_parameter("w", {migraphx::shape::float_type, {2, 8, 3, 3}});
m.add_instruction(migraphx::make_op("convolution"), x, w); m.add_instruction(migraphx::make_op("convolution"), x, w);
auto s = migraphx::dump_mlir(m); auto s = migraphx::dump_mlir(m);
std::cout << s << std::endl; std::cout << s << std::endl;
......
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