mindspore.dataset.config.get_autotune_interval

View Source On Gitee
mindspore.dataset.config.get_autotune_interval()

Get the current configuration adjustment interval (in steps) for AutoTune. If set_autotune_interval is never called before, the default value(0) will be returned.

Returns

int, the configuration adjustment interval (in steps) for AutoTune.

Examples

>>> # get the global configuration of the autotuning interval
>>> import mindspore.dataset as ds
>>> autotune_interval = ds.config.get_autotune_interval()