Skip to content

Commit ba5e84a

Browse files
Merge pull request #1 from jvishnuvardhan/patch-3
Update differential_evolution.py
2 parents e10aba9 + 240afa2 commit ba5e84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_probability/python/optimizer/differential_evolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def one_step(
144144
population is a `Tensor` of shape [n]. If the population is a python
145145
list of `Tensor`s then each `Tensor` in the list should have the first
146146
axis of a common size, say `n` and `objective_function(*population)`
147-
should return a `Tensor of shape [n]. The population must have at least
147+
should return a `Tensor` of shape [n]. The population must have at least
148148
4 members for the algorithm to work correctly.
149149
population_values: A `Tensor` of rank 1 and real dtype. The result of
150150
applying `objective_function` to the `population`. If not supplied it is

0 commit comments

Comments
 (0)