mindspore.hal.communication_stream

View Source On Gitee
mindspore.hal.communication_stream()[source]

Return communication stream on this device.

Returns

stream (Stream), communication stream.

Examples

>>> import mindspore as ms
>>> ms.hal.communication_stream()
Stream(device_name=Ascend, device_id:0, stream id:1)