mindspore.runtime.communication_stream
- mindspore.runtime.communication_stream()[source]
Return communication stream on this device.
- Returns
stream (Stream), communication stream.
- Supported Platforms:
Ascend
GPU
Examples
>>> import mindspore as ms >>> ms.set_device("Ascend", 0) >>> ms.runtime.communication_stream() Stream(device_name=Ascend, device_id:0, stream id:1)