MCPcopy Index your code
hub / github.com/tflearn/tflearn / get

Function get

tflearn/regularizers.py:7–11  ·  view source on GitHub ↗
(identifier)

Source from the content-addressed store, hash-verified

5
6
7def get(identifier):
8 if hasattr(identifier, '__call__'):
9 return identifier
10 else:
11 return get_from_module(identifier, globals(), 'regularizer')
12
13
14def L2(tensor, wd=0.001):

Callers

nothing calls this directly

Calls 1

get_from_moduleFunction · 0.85

Tested by

no test coverage detected