mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
Adding should_train helper and should_train in graph_manager
This commit is contained in:
committed by
zach dwiel
parent
a2e57a44f1
commit
a7f5442015
@@ -591,3 +591,6 @@ class GraphManager(object):
|
||||
result += "{}: \n{}\n".format(key, params)
|
||||
|
||||
return result
|
||||
|
||||
def should_train(self) -> bool:
|
||||
return any([manager.should_train() for manager in self.level_managers])
|
||||
|
||||
Reference in New Issue
Block a user