def __exit__(self, type: Any, value : Any, traceback : Any)
函数功能
上下文管理器退出操作,恢复当前Stream为之前Stream。
函数原型
def __exit__(self, type: Any, value : Any, traceback : Any)
返回值说明
无
父主题:
class mindietorch.npu.StreamContext