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

Function sub_proc

tests/python/common/test_heterograph-shared-memory.py:68–72  ·  view source on GitHub ↗
(hg_origin, name)

Source from the content-addressed store, hash-verified

66
67
68def sub_proc(hg_origin, name):
69 hg_rebuild = dgl.hetero_from_shared_memory(name)
70 hg_save_again = hg_rebuild.shared_memory(name)
71 _assert_is_identical_hetero(hg_origin, hg_rebuild)
72 _assert_is_identical_hetero(hg_origin, hg_save_again)
73
74
75@unittest.skipIf(

Callers

nothing calls this directly

Calls 2

shared_memoryMethod · 0.45

Tested by

no test coverage detected