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

Method clear_cache

python/dgl/graph_index.py:123–125  ·  view source on GitHub ↗

Clear the cached graph structures.

(self)

Source from the content-addressed store, hash-verified

121 self.clear_cache()
122
123 def clear_cache(self):
124 """Clear the cached graph structures."""
125 self._cache.clear()
126
127 def is_multigraph(self):
128 """Return whether the graph is a multigraph

Callers 8

add_nodesMethod · 0.95
add_edgeMethod · 0.95
add_edgesMethod · 0.95
clearMethod · 0.95
readonlyMethod · 0.95
add_nodesMethod · 0.45
add_edgeMethod · 0.45
add_edgesMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected