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

14 lines
489 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.MuLawEncoding
=====================================
.. py:class:: mindspore.dataset.audio.MuLawEncoding(quantization_channels=256)
基于mu-law压缩的信号编码。
参数:
- **quantization_channels** (int, 可选) - 通道数必须为正数。默认值256。
异常:
- **TypeError** - 当 `quantization_channels` 的类型不为int。
- **ValueError** - 当 `quantization_channels` 不为正数。