mindspore.dataset.config.get_numa_enable

mindspore.dataset.config.get_numa_enable()

Get the state of numa to indicate enabled/disabled. This is the numa config used for all processes, it is disabled by default.

Returns

bool, the default state of numa enabled.

Examples

>>> # Get the global configuration of numa.
>>> import mindspore.dataset as ds
>>> numa_state = ds.config.get_numa_enable()