mirror of
https://github.com/wassname/ray.git
synced 2026-10-04 13:00:39 +08:00
[tune] Fix SearchAlg finishing early (#3081)
* Fix trial search alg finishing early * Fix lint * fix lint * nit fix
This commit is contained in:
1 parent
221d1663c1
commit
eff7cb4458
3 files changed
+32
-2
No files matched your search
@@ -223,7 +223,7 @@ For TensorFlow model training, this would look something like this `(full tensor
|
||||
.. code-block:: python
|
||||
|
||||
class MyClass(Trainable):
|
||||
def _setup(self):
|
||||
def _setup(self, config):
|
||||
self.saver = tf.train.Saver()
|
||||
self.sess = ...
|
||||
self.iteration = 0
|
||||
|
||||
Reference in new issue
Block a user