Skip to content

Commit 2783560

Browse files
committed
new api paddle.trunc, test=develop
1 parent b7f18f9 commit 2783560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/tensor/math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ def trunc(input, name=None):
861861
This API is used to returns a new tensor with the truncated integer values of input.
862862
863863
Args:
864-
input (Tensor): The input tensor, it's data type should be int, float, double.
864+
input (Tensor): The input tensor, it's data type should be int32, int64, float32, float64.
865865
name (str, optional): Name for the operation (optional, default is None). For more information, please refer to :ref:`api_guide_Name`.
866866
867867
Returns:

0 commit comments

Comments
 (0)