Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Aug 19, 2022
1 parent b45b89e commit c5bc2a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/paddle/tensor/math.py
Expand Up @@ -779,6 +779,7 @@ def remainder(x, y, name=None):
return _elementwise_op(LayerHelper(op_type, **locals()))


@inplace_apis_in_dygraph_only
def remainder_(x, y, name=None):
r"""
Inplace version of ``remainder`` API, the output Tensor will be inplaced with input ``x``.
Expand Down

0 comments on commit c5bc2a8

Please sign in to comment.