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, whether the watchdog Python thread is enabled.
Examples
>>> # Get the global configuration of watchdog Python thread. >>> import mindspore.dataset as ds >>> watchdog_state = ds.config.get_enable_watchdog()