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