mindspore.dataset.config.get_enable_autotune

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