torch.cuda.check_error torch.cuda.check_error(res) Raise an error if the result of a CUDA runtime API call is not success. Назад