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

Method __call__

python/model_test.py:35–38  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

33 self.transfers.append(Transfer(nin,nout,act,model))
34
35 def __call__(self, x):
36 for t in self.transfers:
37 x = t(x)
38 return x
39
40 def get_components(self):
41 return self.transfers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected