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

clang format

parent f15477f7
...@@ -610,8 +610,7 @@ struct cpu_unary ...@@ -610,8 +610,7 @@ struct cpu_unary
else else
{ {
shape_for_each(output.get_shape(), [&](const auto& idx) { shape_for_each(output.get_shape(), [&](const auto& idx) {
output(idx.begin(), idx.end()) = output(idx.begin(), idx.end()) = op.fcn()(input(idx.begin(), idx.end()));
op.fcn()(input(idx.begin(), idx.end()));
}); });
} }
}); });
......
...@@ -12,7 +12,7 @@ void adjust_allocation::apply(program& p) const ...@@ -12,7 +12,7 @@ void adjust_allocation::apply(program& p) const
{ {
for(auto ins : iterator_for(p)) for(auto ins : iterator_for(p))
{ {
if (ins->name() == "load") if(ins->name() == "load")
continue; continue;
auto alias_ins = instruction::get_output_alias(ins, true); auto alias_ins = instruction::get_output_alias(ins, true);
......
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