Example #1
0
 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)
Example #2
0
 def __init__(self, config=None, logger_creator=None):
     Trainable.__init__(self, config=config, logger_creator=logger_creator)