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

Method is_inductive

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

Source from the content-addressed store, hash-verified

570 self._adj.set_symmetric(False)
571
572 def is_inductive(self):
573 return self._adj_train is not None
574
575 def mask2nid(self, split):
576 mask = getattr(self, f"{split}_mask")

Callers 4

preprocessingMethod · 0.80
prepare_featsFunction · 0.80
prepare_labelsFunction · 0.80
preprocessingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected