MCPcopy
hub / github.com/tensorlayer/TensorLayer / __init__

Method __init__

tests/layers/test_layernode.py:148–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146 class MyModel(Model):
147
148 def __init__(self):
149 super(MyModel, self).__init__()
150 self.layers = LayerList([Dense(50, in_channels=100), Dropout(0.9), Dense(10, in_channels=50)])
151
152 def forward(self, x):
153 return self.layers(x)

Callers

nothing calls this directly

Calls 3

LayerListClass · 0.85
DenseClass · 0.85
DropoutClass · 0.85

Tested by

no test coverage detected