[hotfix] Lint formatting for new Tune optimizer ZOOpt (#8040)

* formatting

* removedill

* lint
This commit is contained in:
Richard Liaw authored and GitHub committed 2020-04-16 09:24:30 -07:00
1 parent d4cae5f632
commit 4d8bf5635d
6 files changed
+21 -12

No files matched your search

+2 -1
View File
@@ -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()
+5
View File
@@ -48,6 +48,11 @@ SkOptSearch
.. autoclass:: ray.tune.suggest.skopt.SkOptSearch
ZOOptSearch
-----------
.. autoclass:: ray.tune.suggest.zoopt.ZOOptSearch
SearchAlgorithm
---------------