mindspore.dataset.config.get_enable_autotune

View Source On AtomGit
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()