BayesOptSamplingEngine.update BayesOptSamplingEngine.update(samples: Dict[str, torch.Tensor | array], objectives: torch.Tensor | array, valid: torch.Tensor | array) → None[source] Updates the utility function by subtracting a large number from the performance of invalid samples.