Commit 526adcab authored by Khalique's avatar Khalique
Browse files

formatting

parent f5b9f783
...@@ -639,7 +639,7 @@ struct onnx_parser ...@@ -639,7 +639,7 @@ struct onnx_parser
pads = std::vector<int64_t>(pad_vals.begin(), pad_vals.end()); pads = std::vector<int64_t>(pad_vals.begin(), pad_vals.end());
} }
// check if padding is actually being done (at least one value is nonzero) // check if padding is actually being done (at least one value is nonzero)
if(std::all_of(pads.begin(),pads.end(), [](const int& i){ return i == 0;})) if(std::all_of(pads.begin(), pads.end(), [](const int& i) { return i == 0; }))
{ {
return prog.add_instruction(migraphx::op::identity{}, args.front()); return prog.add_instruction(migraphx::op::identity{}, args.front());
} }
......
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