MCPcopy Create free account
hub / github.com/JunlinHan/DCLGAN / data_dependent_initialize

Method data_dependent_initialize

models/base_model.py:109–110  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

107 setattr(self, 'net' + name, torch.nn.DataParallel(net, self.opt.gpu_ids))
108
109 def data_dependent_initialize(self, data):
110 pass
111
112 def eval(self):
113 """Make models eval mode during test time"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected