mindspore/docs/api/api_python/dataset_audio/mindspore.dataset.audio.Com...

14 lines
586 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.dataset.audio.ComputeDeltas
=====================================
.. py:class:: mindspore.dataset.audio.ComputeDeltas(win_length=5, pad_mode=BorderType.EDGE)
计算光谱图的增量系数。
.. math::
d_{t}=\frac{{\textstyle\sum_{n=1}^{N}}n(c_{t+n}-c_{t-n})}{2{\textstyle\sum_{n=1}^{N}}n^{2}}
参数:
- **win_length** (int, 可选) - 计算窗口长度长度必须不小于3默认值5。
- **pad_mode** (:class:`mindspore.dataset.audio.BorderType`, 可选) - 边界填充模式默认值BorderType.EDGE。