mindspore.dataset.config.get_enable_autotune
- mindspore.dataset.config.get_enable_autotune()
Get whether AutoTune is currently enabled, it is disabled by default.
- Returns
bool, whether AutoTune is currently enabled.
Examples
>>> # get the state of AutoTune >>> import mindspore.dataset as ds >>> autotune_flag = ds.config.get_enable_autotune()