MCPcopy Create free account
hub / github.com/dangf15/THLNet / __init__

Method __init__

nets/model.py:209–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

207class Net(nn.Module):
208
209 def __init__(self):
210
211 super(Net, self).__init__()
212
213 self.block1 = ds_block(masking_mode='E')
214 self.block2 = re_block(masking_mode='C')
215
216 show_model(self)
217 show_params(self)
218
219 def forward(self, x):
220

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 4

show_modelFunction · 0.90
show_paramsFunction · 0.90
ds_blockClass · 0.85
re_blockClass · 0.85

Tested by

no test coverage detected