MCPcopy Create free account
hub / github.com/HobbitLong/PyContrast / __init__

Method __init__

pycontrast/learning/base_trainer.py:14–17  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

12class BaseTrainer(object):
13 """class for BaseTrainer"""
14 def __init__(self, args):
15 self.args = args
16 self.local_group = None
17 self.logger = None
18
19 def init_ddp_environment(self, gpu, ngpus_per_node):
20 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected