mindspore2022/docs/api/api_python/dataset/mindspore.dataset.zip.rst

20 lines
498 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.zip
=====================
.. py:function:: mindspore.dataset.zip(datasets)
将多个dataset对象按列进行合并压缩。
**参数:**
- **datasets** (tuple[Dataset]) - 要合并的多个dataset对象。 `datasets` 参数的长度必须大于1。
**返回:**
ZipDataset合并后的dataset对象。
**异常:**
- **ValueError** - `datasets` 参数的长度为1。
- **TypeError** - datasets参数不是tuple。