mindspore.get_offload_context
- mindspore.get_offload_context()[source]
Gets the offload configuration parameters. Configure through interface mindspore.set_offload_context(). If the user is not set, the default configuration is obtained.
- Returns
Dict, heterogeneous training offload detailed configuration parameters.
Examples
>>> from mindspore import context >>> offload_config = context.get_offload_context()