MCPcopy Create free account
hub / github.com/InternScience/InternAgent / __init__

Method __init__

tasks/AutoMolecule3D/code/visnet/data.py:16–21  ·  view source on GitHub ↗
(self, hparams)

Source from the content-addressed store, hash-verified

14
15class DataModule(LightningDataModule):
16 def __init__(self, hparams):
17 super(DataModule, self).__init__()
18 self.hparams.update(hparams.__dict__) if hasattr(hparams, "__dict__") else self.hparams.update(hparams)
19 self._mean, self._std = None, None
20 self._saved_dataloaders = dict()
21 self.dataset = None
22
23 def prepare_dataset(self):
24

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected