def __init__(self, remote_checkpoint_dir=None, sync_function_tpl=None, *args, **kwargs): _MockTrainer.__init__(self, *args, **kwargs) kwargs["remote_checkpoint_dir"] = remote_checkpoint_dir Trainable.__init__(self, *args, **kwargs)
def __init__(self, remote_checkpoint_dir, *args, **kwargs): _MockTrainer.__init__(self, *args, **kwargs) DurableTrainable.__init__(self, remote_checkpoint_dir, *args, **kwargs)