mindspore.ops.communication.is_available ========================================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://atomgit.com/mindspore/mindspore/blob/master/docs/api/api_python/ops/mindspore.ops.communication.is_available.rst :alt: 查看源文件 .. py:function:: mindspore.ops.communication.is_available() 检查分布式模块是否可用。 返回: bool,此分布式模块是否可用。该函数始终返回 ``True``,因为MindSpore在所有平台上始终具有分布式能力。 样例: .. note:: .. include:: ../mint/mindspore.mint.comm_note.txt