mindspore.ops.kaiser_window
- mindspore.ops.kaiser_window(window_length, periodic=True, beta=12.0, *, dtype=None)[source]
Kaiser window function.
with
where
is the modified zeroth-order Bessel function.- Parameters
- Keyword Arguments
dtype (mindspore.dtype, optional) – The data type specified. Default
None
.- Returns
A 1-D tensor.
- Supported Platforms:
Ascend
GPU
CPU
Examples
>>> import mindspore >>> output = mindspore.ops.kaiser_window(5) >>> print(output) [5.27734413e-05 1.01719688e-01 7.92939834e-01 7.92939834e-01 1.01719688e-01] >>> output = mindspore.ops.kaiser_window(5, periodic=False) >>> print(output) [5.27734413e-05 2.15672745e-01 1.00000000e+00 2.15672745e-01 5.27734413e-05]