Commit d4c89abc authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent d7ba7f44
......@@ -21,7 +21,7 @@ static bool try_compute_shape(instruction_ref ins, const std::vector<shape>& inp
}
// if no changes for the shape, the contiguous can also be removed
if (new_shape == ins->get_shape())
if(new_shape == ins->get_shape())
{
return true;
}
......
......@@ -58,9 +58,9 @@ TEST_CASE(transpose_gemm)
TEST_CASE(transpose_standard_op)
{
migraphx::program p;
auto l = p.add_literal(get_2x2());
auto t = p.add_instruction(migraphx::op::transpose{{1, 0}}, l);
auto c = p.add_instruction(migraphx::op::contiguous{}, t);
auto l = p.add_literal(get_2x2());
auto t = p.add_instruction(migraphx::op::transpose{{1, 0}}, l);
auto c = p.add_instruction(migraphx::op::contiguous{}, t);
auto sum = p.add_instruction(migraphx::op::add{}, c, c);
p.add_instruction(pass_standard_op{}, sum);
auto count = std::distance(p.begin(), p.end());
......
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