mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Add Optional
to boundary
arg of stft
.
This commit is contained in:
parent
f624b6e751
commit
8df97ff2a3
@ -439,7 +439,7 @@ def _spectral_helper(x: Array, y: Optional[ArrayLike], fs: ArrayLike = 1.0,
|
||||
@_wraps(osp_signal.stft)
|
||||
def stft(x: Array, fs: ArrayLike = 1.0, window: str = 'hann', nperseg: int = 256,
|
||||
noverlap: Optional[int] = None, nfft: Optional[int] = None,
|
||||
detrend: bool = False, return_onesided: bool = True, boundary: str = 'zeros',
|
||||
detrend: bool = False, return_onesided: bool = True, boundary: Optional[str] = 'zeros',
|
||||
padded: bool = True, axis: int = -1) -> Tuple[Array, Array, Array]:
|
||||
return _spectral_helper(x, None, fs, window, nperseg, noverlap,
|
||||
nfft, detrend, return_onesided,
|
||||
|
Loading…
x
Reference in New Issue
Block a user