Commit 3c089942 authored by Khalique's avatar Khalique
Browse files

change braces to parens

parent 36b9d2da
......@@ -1315,7 +1315,7 @@ struct test_clip : verify_program<test_clip>
{
migraphx::program p;
auto x = p.add_parameter("x", migraphx::shape{migraphx::shape::float_type, {3}});
p.add_instruction(migraphx::op::clip{6.0, 0.0}, x);
p.add_instruction(migraphx::op::clip(6.0, 0.0), x);
return p;
}
};
......
......@@ -798,7 +798,7 @@ TEST_CASE(clip_test)
{
migraphx::program p;
auto l0 = p.add_parameter("0", migraphx::shape{migraphx::shape::float_type, {3}});
p.add_instruction(migraphx::op::clip{6.0, 0.0}, l0);
p.add_instruction(migraphx::op::clip(6.0, 0.0), l0);
auto prog = migraphx::parse_onnx("clip_test.onnx");
EXPECT(p == prog);
......
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