mindspore.dataset.config.get_debug_mode

mindspore.dataset.config.get_debug_mode()

Get the debug_mode flag of the dataset pipeline, it is set to False by default.

Returns

bool, whether dataset pipeline debug mode is enabled

Examples

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