mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 15:44:55 +08:00
[tune] Rename 'repeat' to 'num_samples' (#2698)
Deprecates the `repeat` argument and introduces `num_samples`. Also updates docs accordingly.
This commit is contained in:
@@ -46,7 +46,7 @@ if __name__ == '__main__':
|
||||
config = {
|
||||
"my_exp": {
|
||||
"run": "exp",
|
||||
"repeat": 10 if args.smoke_test else 1000,
|
||||
"num_samples": 10 if args.smoke_test else 1000,
|
||||
"stop": {
|
||||
"training_iteration": 100
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user