mindspore/docs/api/api_python/dataset/mindspore.dataset.show.rst

11 lines
399 B
ReStructuredText
Raw Permalink 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.show
======================
.. py:function:: mindspore.dataset.show(dataset, indentation=2)
将数据处理管道图写入logger.info文件。
参数:
- **dataset** (Dataset) - 数据处理管道对象。
- **indentation** (int, 可选) - 设置JSON字符串打印时的缩进字符数None表示不缩进。默认值 ``2`` 缩进2个字符。