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

Function register_act

graphgym/register.py:49–51  ·  view source on GitHub ↗

r"""Registers an activation function in GraphGym.

(key: str, module: Any = None)

Source from the content-addressed store, hash-verified

47
48
49def register_act(key: str, module: Any = None):
50 r"""Registers an activation function in GraphGym."""
51 return register_base(act_dict, key, module)
52
53
54def register_node_encoder(key: str, module: Any = None):

Callers 1

example.pyFile · 0.90

Calls 1

register_baseFunction · 0.85

Tested by

no test coverage detected