mirror of
https://github.com/wassname/ray.git
synced 2026-08-06 13:31:10 +08:00
[tune] Use public methods for trainable (#9184)
This commit is contained in:
@@ -145,7 +145,7 @@ class RayTrialExecutorTest(unittest.TestCase):
|
||||
"""Tests that reset works as expected."""
|
||||
|
||||
class B(Trainable):
|
||||
def _train(self):
|
||||
def step(self):
|
||||
return dict(timesteps_this_iter=1, done=True)
|
||||
|
||||
def reset_config(self, config):
|
||||
|
||||
Reference in New Issue
Block a user