mindspore.hal.communication_stream
- mindspore.hal.communication_stream()[source]
Return communication stream on this device, this api will be deprecated and removed in future versions, please use the api
mindspore.runtime.communication_stream()
instead.- Returns
stream (Stream), communication stream.
Examples
>>> import mindspore >>> mindspore.hal.communication_stream() Stream(device_name=Ascend, device_id:0, stream id:1)