未验证 提交 1aa056bc 编写于 作者: 张春乔 提交者: GitHub

[CodeStyle][CINN] fix cinn cpplint codestyle `[whitespace/semicolon]` (#55046)

* whitespace

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

* empty commit, re-trigger all ci

---------
Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
上级 51d31a07
......@@ -995,7 +995,6 @@ Variable NetBuilder::DropoutInfer(const Variable& a,
Variable NetBuilder::Sum(const std::vector<Variable>& inputs) {
return CustomInstr("sum", inputs, {}).front();
;
}
Variable NetBuilder::Arange(const float start,
......@@ -1030,7 +1029,6 @@ Variable NetBuilder::Matmul(const Variable& x,
{x, y},
{{"trans_a", trans_x}, {"trans_b", trans_y}, {"alpha", alpha}})
.front();
;
}
Variable NetBuilder::GaussianRandom(const std::vector<int>& shape,
......
......@@ -122,7 +122,7 @@ void SplitOpMapper(const paddle::cpp::OpDesc& op_desc,
const OpMapperContext& ctx) {
CHECK_EQ(op_desc.Input("X").size(), 1UL);
auto x_name = op_desc.Input("X").front();
;
CHECK_GE(op_desc.Output("Out").size(), 1UL);
auto out_names = op_desc.Output("Out");
......
......@@ -213,7 +213,7 @@ struct SimplifyRampMutator : public ir::IRMutator<Expr*> {
<< node->base << "is not a pure math!";
CHECK(common::IsPureMath(node->stride))
<< node->stride << "is not a pure math!";
;
Simplify(&node->base);
Simplify(&node->stride);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册