MCPcopy Create free account
hub / github.com/clab/dynet / __init__

Method __init__

python/model_test.py:47–48  ·  view source on GitHub ↗
(self, act)

Source from the content-addressed store, hash-verified

45
46class NoParameters(Saveable):
47 def __init__(self, act):
48 self.act = act
49 def __call__(self, in_expr):
50 return self.act(dy.cmult(in_expr))
51 def get_components(self): return []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected