We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Iterable[Kernel]
Kernel
1 parent c0fb6c6 commit 05850c4Copy full SHA for 05850c4
1 file changed
gpytorch/kernels/kernel.py
@@ -607,7 +607,7 @@ class AdditiveKernel(Kernel):
607
def is_stationary(self) -> bool:
608
return all(k.is_stationary for k in self.kernels)
609
610
- def __init__(self, *kernels: Iterable[Kernel]):
+ def __init__(self, *kernels: Kernel):
611
super(AdditiveKernel, self).__init__()
612
self.kernels = ModuleList(kernels)
613
@@ -649,7 +649,7 @@ class ProductKernel(Kernel):
649
650
651
652
653
super(ProductKernel, self).__init__()
654
655
0 commit comments