gpytorch/models/deep_gps/deep_gp.py
Killed 0 out of 2 mutantsSurvived
Survived mutation testing. These mutants show holes in your test suite.Mutant 174
--- gpytorch/models/deep_gps/deep_gp.py
+++ gpytorch/models/deep_gps/deep_gp.py
@@ -15,7 +15,6 @@
def __init__(self, model):
self.model = model
- @property
def sub_variational_strategies(self):
if not hasattr(self, "_sub_variational_strategies_memo"):
self._sub_variational_strategies_memo = [
Mutant 175
--- gpytorch/models/deep_gps/deep_gp.py
+++ gpytorch/models/deep_gps/deep_gp.py
@@ -71,7 +71,7 @@
def forward(self, x):
raise NotImplementedError
- def __call__(self, inputs, are_samples=False, **kwargs):
+ def __call__(self, inputs, are_samples=True, **kwargs):
deterministic_inputs = not are_samples
if isinstance(inputs, MultitaskMultivariateNormal):
inputs = torch.distributions.Normal(loc=inputs.mean, scale=inputs.variance.sqrt()).rsample()