Skip to content

Commit 10bbbcb

Browse files
committed
Merge pull request #16346 from phlrain/add_floordiv_and_mod
add elementwise floordiv, mod
1 parent 853f5a8 commit 10bbbcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/operators/elementwise/elementwise_floordiv_op.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
1+
/* Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ namespace operators {
2121
class ElementwiseFloorDivOpMaker : public ElementwiseOpMaker {
2222
protected:
2323
std::string GetName() const override { return "FloorDiv"; }
24-
std::string GetEquation() const override { return "Out = X % Y"; }
24+
std::string GetEquation() const override { return "Out = X // Y"; }
2525
};
2626
} // namespace operators
2727
} // namespace paddle

0 commit comments

Comments
 (0)