mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
[hotfix] Lint formatting for new Tune optimizer ZOOpt (#8040)
* formatting * removedill * lint
This commit is contained in:
+2
-1
@@ -32,7 +32,8 @@ MOCK_MODULES = [
|
||||
"tensorflow.contrib.rnn", "tensorflow.contrib.slim", "tensorflow.core",
|
||||
"tensorflow.core.util", "tensorflow.python", "tensorflow.python.client",
|
||||
"tensorflow.python.util", "torch", "torch.distributed", "torch.nn",
|
||||
"torch.nn.parallel", "torch.utils.data", "torch.utils.data.distributed"
|
||||
"torch.nn.parallel", "torch.utils.data", "torch.utils.data.distributed",
|
||||
"zoopt"
|
||||
]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = mock.Mock()
|
||||
|
||||
@@ -48,6 +48,11 @@ SkOptSearch
|
||||
|
||||
.. autoclass:: ray.tune.suggest.skopt.SkOptSearch
|
||||
|
||||
ZOOptSearch
|
||||
-----------
|
||||
|
||||
.. autoclass:: ray.tune.suggest.zoopt.ZOOptSearch
|
||||
|
||||
SearchAlgorithm
|
||||
---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user