mindspore.dataset.config.get_enable_autotune

mindspore.dataset.config.get_enable_autotune()

Get whether AutoTune is currently enabled.

Returns

bool, whether AutoTune is currently enabled.

Examples

>>> # get the state of AutoTune
>>> autotune_flag = ds.config.get_enable_autotune()