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

Method shared_memory

python/dgl/distributed/graph_partition_book.py:293–301  ·  view source on GitHub ↗

Move the partition book to shared memory. Parameters ---------- graph_name : str The graph name. This name will be used to read the partition book from shared memory in another process.

(self, graph_name)

Source from the content-addressed store, hash-verified

291 """
292
293 def shared_memory(self, graph_name):
294 """Move the partition book to shared memory.
295
296 Parameters
297 ----------
298 graph_name : str
299 The graph name. This name will be used to read the partition book from shared
300 memory in another process.
301 """
302
303 def num_partitions(self):
304 """Return the number of partitions.

Callers 2

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected