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

Method clone

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

Source from the content-addressed store, hash-verified

760 return Graph(**val)
761
762 def clone(self):
763 return Graph.from_dict({k: v.clone() for k, v in self})
764
765 def store(self, key):
766 if hasattr(self, key) and not callable(getattr(self, key)):

Callers 15

_feature_maskingMethod · 0.45
encoding_mask_noiseMethod · 0.45
attackMethod · 0.45
update_featuresMethod · 0.45
update_featuresMethod · 0.45
modificationMethod · 0.45
attackMethod · 0.45
modificationMethod · 0.45
projectMethod · 0.45
resample_random_blockMethod · 0.45
sample_final_edgesMethod · 0.45
attackMethod · 0.45

Calls 1

from_dictMethod · 0.45

Tested by

no test coverage detected