Commit 91f635a2 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 65f4bf57
...@@ -13,7 +13,7 @@ struct test_mul_lrn : verify_program<test_mul_lrn> ...@@ -13,7 +13,7 @@ struct test_mul_lrn : verify_program<test_mul_lrn>
migraphx::shape s{migraphx::shape::half_type, {1, 5, 2, 2}}; migraphx::shape s{migraphx::shape::half_type, {1, 5, 2, 2}};
auto x = mm->add_parameter("x", s); auto x = mm->add_parameter("x", s);
std::vector<float> vec(s.elements(), 500.0f); std::vector<float> vec(s.elements(), 500.0f);
auto l = mm->add_literal(migraphx::literal(s,vec)); auto l = mm->add_literal(migraphx::literal(s, vec));
auto xl = mm->add_instruction(migraphx::make_op("mul"), x, l); auto xl = mm->add_instruction(migraphx::make_op("mul"), x, l);
auto y = mm->add_instruction(migraphx::make_op("relu"), xl); auto y = mm->add_instruction(migraphx::make_op("relu"), xl);
mm->add_instruction( mm->add_instruction(
......
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