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

Method entry_func

python/dgl/_ffi/function.py:83–94  ·  view source on GitHub ↗

Get the entry function Returns ------- f : Function The entry function if exist

(self)

Source from the content-addressed store, hash-verified

81
82 @property
83 def entry_func(self):
84 """Get the entry function
85
86 Returns
87 -------
88 f : Function
89 The entry function if exist
90 """
91 if self._entry:
92 return self._entry
93 self._entry = self.get_function(self.entry_name)
94 return self._entry
95
96 def get_function(self, name, query_imports=False):
97 """Get function from the module.

Callers

nothing calls this directly

Calls 1

get_functionMethod · 0.95

Tested by

no test coverage detected