mirror of
https://github.com/wassname/ray.git
synced 2026-08-07 11:27:43 +08:00
[docs] Update grid_random.rst (#9102)
This commit is contained in:
@@ -40,7 +40,7 @@ To sample multiple times/run multiple trials, specify ``tune.run(num_samples=N``
|
||||
.. code-block:: python
|
||||
|
||||
# 13 different configs.
|
||||
tune.run(trainable config={
|
||||
tune.run(trainable, num_samples=13, config={
|
||||
"x": tune.choice([0, 1, 2]),
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user