MCPcopy
hub / github.com/dmlc/dgl / is_pinned

Method is_pinned

python/dgl/graphbolt/base.py:504–507  ·  view source on GitHub ↗

Check whether `SampledSubgraph` is pinned using reflection.

(self)

Source from the content-addressed store, hash-verified

502 return self.to("pinned")
503
504 def is_pinned(self) -> bool:
505 """Check whether `SampledSubgraph` is pinned using reflection."""
506
507 return is_object_pinned(self)
508
509
510def _csc_format_base_str(csc_format_base: CSCFormatBase) -> str:

Callers 7

sample_laborsFunction · 0.45
sample_neighborsFunction · 0.45
sample_neighbors_fusedFunction · 0.45
prepare_tensorFunction · 0.45
is_pinnedFunction · 0.45
fetchMethod · 0.45
is_object_pinnedFunction · 0.45

Calls 1

is_object_pinnedFunction · 0.85

Tested by

no test coverage detected