mindspore.get_offload_context
==============================

.. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.3.q1/resource/_static/logo_source.svg
    :target: https://gitee.com/mindspore/mindspore/blob/r2.3.q1/docs/api/api_python/mindspore/mindspore.get_offload_context.rst
    :alt: 查看源文件


.. py:function:: mindspore.get_offload_context()

    获取offload配置参数。通过接口mindspore.set_offload_context()进行配置。如果用户未设置,则获取到默认配置。

    返回:
        dict,异构训练offload详细配置参数。