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

clang format

parent 19bc41fc
......@@ -21,7 +21,7 @@ struct binary
shape compute_shape(std::vector<shape> inputs) const
{
check_shapes{inputs}.has(2).same_type().same_dims();
if (inputs.at(0) == inputs.at(1) and inputs.at(0).packed())
if(inputs.at(0) == inputs.at(1) and inputs.at(0).packed())
{
return inputs.at(0);
}
......
......@@ -22,7 +22,7 @@ struct unary
{
check_shapes{inputs}.has(1);
auto s = inputs.at(0);
if (s.packed())
if(s.packed())
{
return s;
}
......
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