Skip to content

Commit c5bc2a8

Browse files
committed
fix bug
1 parent b45b89e commit c5bc2a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/paddle/tensor/math.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ def remainder(x, y, name=None):
779779
return _elementwise_op(LayerHelper(op_type, **locals()))
780780

781781

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

0 commit comments

Comments
 (0)