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

clang format

parent c5353ce2
......@@ -703,8 +703,9 @@ struct tf_parser
}
}
instruction_ref
parse_softmax(const std::string&, const attribute_map& attributes, std::vector<instruction_ref> args)
instruction_ref parse_softmax(const std::string&,
const attribute_map& attributes,
std::vector<instruction_ref> args)
{
int axis = 1;
if(contains(attributes, "axis"))
......
......@@ -354,7 +354,7 @@ TEST_CASE(reshape_test)
TEST_CASE(softmax_test)
{
migraphx::program p;
auto l0 = p.add_parameter("0", migraphx::shape{migraphx::shape::float_type, {1, 3}});
auto l0 = p.add_parameter("0", migraphx::shape{migraphx::shape::float_type, {1, 3}});
p.add_instruction(migraphx::op::softmax{1}, l0);
auto prog = optimize_tf("softmax_test.pb", false);
......
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