mindspore/docs/api/api_python/mint/mindspore.mint.distributed....

19 lines
506 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.mint.distributed.is_available
=============================================
.. py:function:: mindspore.mint.distributed.is_available()
分布式模块是否可用。
.. note::
- MindSpore在所有平台下都支持分布式因此该函数返回值恒为True。
- 当前仅支持PyNative模式不支持Graph模式。
返回:
bool表示分布式模块是否可用。
样例:
.. note::
.. include:: mindspore.mint.comm_note.rst