Skip to content

Commit f87650b

Browse files
sdaultonfacebook-github-bot
authored andcommitted
add option for input warping in non-linear fully Bayesian GPs (#3810)
Summary: X-link: meta-pytorch/botorch#2858 see title. Reviewed By: Balandat Differential Revision: D74826655
1 parent 096bf27 commit f87650b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ax/generators/torch/tests/test_surrogate.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,10 @@ def test_construct_model(self) -> None:
656656
self.assertTrue(torch.equal(call_kwargs["train_Y"], self.Ys[0]))
657657
self.assertIsInstance(call_kwargs["input_transform"], Normalize)
658658
self.assertIsNone(call_kwargs["outcome_transform"])
659-
self.assertEqual(len(call_kwargs), 4)
659+
self.assertEqual(
660+
len(call_kwargs),
661+
6 if botorch_model_class is SaasFullyBayesianSingleTaskGP else 4,
662+
)
660663

661664
mock_construct_inputs.assert_called_with(
662665
training_data=self.training_data[0],

0 commit comments

Comments
 (0)