mindspore.dataset.config.get_debug_mode

mindspore.dataset.config.get_debug_mode()

Get whether debug mode is currently enabled for the data pipeline.

Returns

bool, whether data pipeline debug mode is enabled.

Examples

>>> import mindspore.dataset as ds
>>> debug_mode = ds.config.get_debug_mode()