mindspore.ops.BlackmanWindow

class mindspore.ops.BlackmanWindow(periodic=True, dtype=mstype.float32)[源代码]

布莱克曼窗口函数。

更多参考详见 mindspore.ops.blackman_window()

支持平台:

GPU CPU

样例:

>>> window_length = Tensor(10, mindspore.int32)
>>> blackman_window = ops.BlackmanWindow(periodic = True, dtype = mindspore.float32)
>>> output = blackman_window(window_length)
>>> print(output)
[-2.9802322e-08  4.0212840e-02  2.0077014e-01  5.0978714e-01
  8.4922993e-01  1.0000000e+00  8.4922981e-01  5.0978690e-01
  2.0077008e-01  4.0212870e-02]