Commit 5529cabc authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent bfdba340
......@@ -26,7 +26,6 @@ struct scalar
return pack(f(self.scalar_bcast_lens, "scalar_bcst_dims"));
}
std::string name() const { return "scalar"; }
shape compute_shape(std::vector<shape> inputs) const
......
......@@ -679,8 +679,7 @@ struct onnx_parser
auto scale_tensor = prog.add_instruction(migraphx::op::scalar{input_lens}, scale_val);
auto img_scaled = prog.add_instruction(migraphx::op::mul{}, args.front(), scale_tensor);
auto bias_bcast =
prog.add_instruction(migraphx::op::broadcast{1, input_lens}, bias_vals);
auto bias_bcast = prog.add_instruction(migraphx::op::broadcast{1, input_lens}, bias_vals);
return prog.add_instruction(migraphx::op::add{}, img_scaled, bias_bcast);
}
......
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