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

Method import_module

python/dgl/_ffi/function.py:125–133  ·  view source on GitHub ↗

Add module to the import list of current one. Parameters ---------- module : Module The other module.

(self, module)

Source from the content-addressed store, hash-verified

123 return Function(ret_handle, False)
124
125 def import_module(self, module):
126 """Add module to the import list of current one.
127
128 Parameters
129 ----------
130 module : Module
131 The other module.
132 """
133 check_call(_LIB.DGLModImport(self.handle, module.handle))
134
135 def __getitem__(self, name):
136 if not isinstance(name, string_types):

Callers 6

load_backendFunction · 0.80
_load_backendFunction · 0.80
_load_backendFunction · 0.80
_load_backendFunction · 0.80
_load_backendFunction · 0.80
__init__.pyFile · 0.80

Calls 1

check_callFunction · 0.85

Tested by

no test coverage detected