MCPcopy
hub / github.com/snap-stanford/GraphGym / register_head

Function register_head

graphgym/register.py:69–71  ·  view source on GitHub ↗

r"""Registers a GNN prediction head in GraphGym.

(key: str, module: Any = None)

Source from the content-addressed store, hash-verified

67
68
69def register_head(key: str, module: Any = None):
70 r"""Registers a GNN prediction head in GraphGym."""
71 return register_base(head_dict, key, module)
72
73
74def register_layer(key: str, module: Any = None):

Callers 1

example.pyFile · 0.90

Calls 1

register_baseFunction · 0.85

Tested by

no test coverage detected