Commit 09f7ee54 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent c91b6e1d
...@@ -56,13 +56,13 @@ struct squeeze ...@@ -56,13 +56,13 @@ struct squeeze
} }
} }
if (new_lens.empty()) if(new_lens.empty())
{ {
return shape{type}; return shape{type};
} }
else else
{ {
return shape{type, new_lens}; return shape{type, new_lens};
} }
} }
argument compute(shape output_shape, std::vector<argument> args) const argument compute(shape output_shape, std::vector<argument> args) const
......
...@@ -179,7 +179,7 @@ argument miopen_gemm::compute(context& ctx, ...@@ -179,7 +179,7 @@ argument miopen_gemm::compute(context& ctx,
const std::vector<argument>& args) const const std::vector<argument>& args) const
{ {
bool is_3inputs = (args.size() == 4); bool is_3inputs = (args.size() == 4);
float beta = 0.0f; float beta = 0.0f;
if(is_3inputs) if(is_3inputs)
{ {
output_shape.visit_type([&](auto as) { output_shape.visit_type([&](auto as) {
......
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