mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
stft: remove non-center overload and python functional wrapper
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73434 Approved by: https://github.com/anjali411
This commit is contained in:
committed by
PyTorch MergeBot
parent
cb37e7a080
commit
6b7d89c4f1
@ -4752,16 +4752,21 @@ See :func:`torch.dsplit`
|
||||
""")
|
||||
|
||||
add_docstr_all('stft',
|
||||
"stft(n_fft, hop_length=None, win_length=None, window=None, center=True, "
|
||||
"pad_mode='reflect', normalized=False, onesided=None, return_complex=None) -> Tensor"
|
||||
r"""
|
||||
stft(frame_length, hop, fft_size=None, return_onesided=True, window=None, pad_end=0) -> Tensor
|
||||
|
||||
See :func:`torch.stft`
|
||||
|
||||
.. warning::
|
||||
This function changed signature at version 0.4.1. Calling with
|
||||
the previous signature may cause error or return incorrect result.
|
||||
""")
|
||||
|
||||
add_docstr_all('istft',
|
||||
"istft(input, n_fft, hop_length=None, win_length=None, window=None, center=True, "
|
||||
"normalized=False, onesided=None, length=None, return_complex=False) -> Tensor"
|
||||
r"""
|
||||
istft(n_fft, hop_length=None, win_length=None, window=None,
|
||||
center=True, normalized=False, onesided=True, length=None) -> Tensor
|
||||
|
||||
See :func:`torch.istft`
|
||||
""")
|
||||
|
Reference in New Issue
Block a user