added on_hpc_load and on_hpc_save hooks
This commit is contained in:
parent
f257c080c0
commit
62e091f48d
|
@ -21,6 +21,9 @@ class ModelIO(object):
|
|||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
# -------------------------
|
||||
# OPTIONAL HOOKS
|
||||
# -------------------------
|
||||
def on_hpc_save(self):
|
||||
"""
|
||||
Hook to do whatever you need right before Slurm manager saves the model
|
||||
|
|
Loading…
Reference in New Issue