Commit cedebc6c authored by Khalique's avatar Khalique
Browse files

formatting

parent 0d5a6cd0
......@@ -736,9 +736,8 @@ struct tf_parser
return prog.add_instruction(op, make_contiguous(args[0]));
}
instruction_ref parse_slice(const std::string&,
const attribute_map&,
std::vector<instruction_ref> args)
instruction_ref
parse_slice(const std::string&, const attribute_map&, std::vector<instruction_ref> args)
{
op::slice op;
auto starts = args[1]->eval().get<int32_t>().to_vector();
......
......@@ -355,7 +355,7 @@ TEST_CASE(slice_test)
{
migraphx::program p;
std::size_t num_axes = 2;
auto l0 = p.add_parameter("0", migraphx::shape{migraphx::shape::float_type, {5,10}});
auto l0 = p.add_parameter("0", migraphx::shape{migraphx::shape::float_type, {5, 10}});
migraphx::shape s0{migraphx::shape::int32_type, {num_axes}};
p.add_literal(migraphx::literal{s0, {1, 0}});
p.add_literal(migraphx::literal{s0, {2, -1}});
......
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