mindspore.dataset.config.get_enable_watchdog

mindspore.dataset.config.get_enable_watchdog()

Get the state of watchdog Python thread to indicate enabled or disabled state. This is a Python watchdog thread used for all processes, it is enabled by default.

Returns

bool, the default state of watchdog Python thread enabled.

Examples

>>> # Get the global configuration of watchdog Python thread.
>>> import mindspore.dataset as ds
>>> watchdog_state = ds.config.get_enable_watchdog()