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.
1 parent 4f48d6b commit 190bbe9Copy full SHA for 190bbe9
baybe/surrogates/naive.py
@@ -37,7 +37,7 @@ def _estimate_moments(
37
import torch
38
39
# TODO: use target value bounds for covariance scaling when explicitly provided
40
- mean = self._model * torch.ones([len(candidates_comp_scaled)])
+ mean = self._model * torch.ones([len(candidates_comp_scaled)]) # type: ignore[operator]
41
var = torch.ones(len(candidates_comp_scaled))
42
return mean, var
43
0 commit comments