mindspore.dataset.config.get_auto_offload

mindspore.dataset.config.get_auto_offload()

Get the state of the automatic offload flag (True or False)

Returns

bool, Whether the automatic offload feature is enabled.

Examples

>>> # Get the global configuration of the automatic offload feature.
>>> auto_offload = ds.config.get_auto_offload()