mirror of
https://github.com/wassname/ray.git
synced 2026-08-11 11:24:51 +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:
@@ -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