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 the DEFAULT watchdog Python thread state value used for the all processes.

Returns

bool, the default state of watchdog Python thread enabled.

Examples

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