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