MCPcopy Index your code
hub / github.com/dmlc/dgl / clone

Method clone

python/dgl/frame.py:415–423  ·  view source on GitHub ↗

Return a shallow copy of this column.

(self)

Source from the content-addressed store, hash-verified

413 self.data = F.cat([self.data, feats], dim=0)
414
415 def clone(self):
416 """Return a shallow copy of this column."""
417 return Column(
418 self.storage,
419 self.scheme,
420 self.index,
421 self.device,
422 self.deferred_dtype,
423 )
424
425 def deepclone(self):
426 """Return a deepcopy of this column.

Callers 3

toMethod · 0.95
astypeMethod · 0.95
__copy__Method · 0.95

Calls 1

ColumnClass · 0.85

Tested by

no test coverage detected