mindspore.dataset.config.get_enable_watchdog
- mindspore.dataset.config.get_enable_watchdog()
获取当前是否开启watchdog Python线程。默认初始状态是开启。
- 返回:
bool,表示是否开启watchdog Python线程。
样例:
>>> # Get the global configuration of watchdog Python thread. >>> import mindspore.dataset as ds >>> watchdog_state = ds.config.get_enable_watchdog()