"...gpu/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "be99b85d2d9dc7ad24fceba3685786ec9cb9047f"
Commit e72668cc authored by Paul's avatar Paul
Browse files

Formatting

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