Design
Models
API
API Mapping
Migration Guide
Syntax Support
Environment Variables
FAQ
RELEASE NOTES
Return current stream used on this device.
stream (Stream), current stream.
Examples
>>> import mindspore as ms >>> cur_stream = ms.hal.current_stream() >>> assert cur_stream == ms.hal.default_stream()