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.