mindspore.runtime.reset_stream_limit ====================================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/master/docs/api/api_python/runtime/mindspore.runtime.reset_stream_limit.rst :alt: 查看源文件 .. py:function:: mindspore.runtime.reset_stream_limit(stream) 复位指定流上限制核数。 .. note:: - 该接口会同步下发和执行,可能会影响性能。 - 当前仅支持PyNative模式,不支持Graph模式。 参数: - **stream** (:class:`mindspore.runtime.Stream`) - 指定的流对象。