mirror of
https://github.com/wassname/ray.git
synced 2026-08-18 12:20:14 +08:00
[tune] added type hints (#10806)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
co-authored by
Richard Liaw
parent
5e030db8a5
commit
c9fafe7733
@@ -39,7 +39,7 @@ class TuneCallback(Callback):
|
||||
on, self._allowed))
|
||||
self._on = on
|
||||
|
||||
def _handle(self, logs: Dict):
|
||||
def _handle(self, logs: Dict, when: str):
|
||||
raise NotImplementedError
|
||||
|
||||
def on_batch_begin(self, batch, logs=None):
|
||||
|
||||
Reference in New Issue
Block a user