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

Method __init__

python/model_test.py:30–33  ·  view source on GitHub ↗
(self, sizes, act, model)

Source from the content-addressed store, hash-verified

28
29class MultiTransfer(Saveable):
30 def __init__(self, sizes, act, model):
31 self.transfers = []
32 for nin,nout in zip(sizes,sizes[1:]):
33 self.transfers.append(Transfer(nin,nout,act,model))
34
35 def __call__(self, x):
36 for t in self.transfers:

Callers

nothing calls this directly

Calls 2

TransferClass · 0.85
appendMethod · 0.80

Tested by

no test coverage detected