From 5fba78d4db4cdaedbfeb3fcfed6b2c40ee3c0136 Mon Sep 17 00:00:00 2001 From: Geoff Pleiss Date: Thu, 25 May 2023 12:26:05 -0400 Subject: [PATCH] Update gpytorch/kernels/kernel.py Co-authored-by: Max Balandat --- gpytorch/kernels/kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpytorch/kernels/kernel.py b/gpytorch/kernels/kernel.py index 9ad238cf0..12cf0a7fa 100644 --- a/gpytorch/kernels/kernel.py +++ b/gpytorch/kernels/kernel.py @@ -76,7 +76,7 @@ def _dist(self, x1, x2, x1_eq_x2=False, postprocess=False): return self._postprocess(res) if postprocess else res -class _autograd_kernel_hack(object): +class _autograd_kernel_hack: """ Helper class.