Skip to content

Commit

Permalink
Update botorch/utils/sampling.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saitcakmak authored Feb 24, 2025
1 parent f637cc6 commit fd338fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion botorch/utils/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,8 @@ def boltzmann_sample(
succesively decreased by 'temp_decrease'.
replacement: If True, samples are drawn with replacement, allowing duplicates.
temp_decrease: The rate at which temperature decreases in case of inf weights.
Returns:
Returns:
A [batch_shape] x num_samples tensor of indices of sampled positions.
"""
norm_weights = standardize(function_values)
Expand Down

0 comments on commit fd338fb

Please sign in to comment.