Commit 5496a55d authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent fad15f19
...@@ -759,10 +759,11 @@ void program::perf_report(std::ostream& os, ...@@ -759,10 +759,11 @@ void program::perf_report(std::ostream& os,
if(contains(flops_funcs, op_name)) if(contains(flops_funcs, op_name))
{ {
// print size // print size
auto inss = to_shapes(ins->inputs()); auto inss = to_shapes(ins->inputs());
auto alens = inss.front().lens(); auto alens = inss.front().lens();
auto blens = inss.at(1).lens(); auto blens = inss.at(1).lens();
auto mb = std::accumulate(alens.rbegin() + 2, alens.rend(), 1, std::multiplies<std::size_t>{}); auto mb = std::accumulate(
alens.rbegin() + 2, alens.rend(), 1, std::multiplies<std::size_t>{});
int mm = alens[alens.size() - 2]; int mm = alens[alens.size() - 2];
int mk = alens.back(); int mk = alens.back();
int mn = blens.back(); int mn = blens.back();
......
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