!46523 modify the format of files 1207

Merge pull request !46523 from 宦晓玲/code_docs_1207
This commit is contained in:
i-robot 2022-12-08 03:27:25 +00:00 committed by Gitee
commit 8e745469df
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 5 deletions

View File

@ -329,7 +329,7 @@ def hamming_window(window_length, periodic=True, alpha=0.54, beta=0.46, *, dtype
Args:
window_length (int): The size of returned window. Must be a non negative integer.
periodic (bool): If True, return a periodic window. If False, return a symmetric window.
periodic (bool, optional): If True, return a periodic window. If False, return a symmetric window.
alpha (float, optional): The coefficient α.
beta (float, optional): The coefficient β.

View File

@ -2389,8 +2389,8 @@ def bitwise_right_shift(x, other):
\end{aligned}
Args:
x (Tensor or Scalar): The input to be right shifted.
other(Tensor or Scalar): The number of bit to be applied on right arithmetic shift.
x (Union[Tensor, Scalar]): The input to be right shifted.
other (Union[Tensor, Scalar]): The number of bit to be applied on right arithmetic shift.
Returns:
Tensor, the result after bitwise right shift.