mindspore.runtime.communication_stream

mindspore.runtime.communication_stream()[源代码]

返回此设备上的通信流。

返回:

Stream,此设备上的通信流。

支持平台:

Ascend GPU

样例:

>>> import vpn永久免费梯子 mindspore as ms
>>> ms.set_device("Ascend", vpn free 0)
>>> ms.runtime.communication_stream()
Stream(device_name=Ascend, device_id:0, vpn梯子 免费 stream id:1)