[rllib] Clean up agent resource configurations (#3296)

Closes #3284
This commit is contained in:
Eric Liang
2018-11-13 18:00:03 -08:00
committed by Richard Liaw
parent d4fad222e1
commit 65c27c70cf
35 changed files with 126 additions and 478 deletions
+5 -1
View File
@@ -158,7 +158,11 @@ class TrialExecutor(object):
def debug_string(self):
"""Returns a human readable message for printing to the console."""
pass
raise NotImplementedError
def resource_string(self):
"""Returns a string describing the total resources available."""
raise NotImplementedError
def restore(self, trial, checkpoint=None):
"""Restores training state from a checkpoint.