Skip to content

Commit

Permalink
test failed, test=document_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxicoding committed Nov 6, 2020
1 parent ace53eb commit 70a7d20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/paddle/tensor/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def remainder(x, y, name=None):
Mod two tensors element-wise. The equation is:
.. math::
out = x \% y
out = x / y
**Note**:
``paddle.remainder`` supports broadcasting. If you want know more about broadcasting, please refer to :ref:`user_guide_broadcasting` .
Expand All @@ -407,6 +407,7 @@ def remainder(x, y, name=None):
y = paddle.to_tensor([1, 5, 3, 3])
z = paddle.remainder(x, y)
print(z) # [0, 3, 2, 1]
"""
op_type = 'elementwise_mod'
axis = -1
Expand Down

0 comments on commit 70a7d20

Please sign in to comment.