MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / get_initializer

Function get_initializer

mla/neuralnet/initializations.py:70–75  ·  view source on GitHub ↗

Returns initialization function by the name.

(name)

Source from the content-addressed store, hash-verified

68
69
70def get_initializer(name):
71 """Returns initialization function by the name."""
72 try:
73 return globals()[name]
74 except Exception:
75 raise ValueError("Invalid initialization function.")

Callers 3

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected