MCPcopy
hub / github.com/THUDM/CogDL / train

Method train

cogdl/data/data.py:523–527  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

521 self.__temp_storage__ = dict()
522
523 def train(self):
524 self.__is_train__ = True
525 if self._adj_train is not None:
526 self._adj = self._adj_train
527 return self
528
529 def eval(self):
530 self._adj = self._adj_full

Callers 6

2training.pyFile · 0.45
2training_cn.pyFile · 0.45
prepare_featsFunction · 0.45
prepare_labelsFunction · 0.45
preprocessingMethod · 0.45
preprocessingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected