MCPcopy Create free account
hub / github.com/geekcomputers/Python / forward

Method forward

ML/src/python/neuralforge/nn/layers.py:136–139  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

134 self.pool = nn.AvgPool2d(kernel_size=2, stride=2)
135
136 def forward(self, x):
137 x = self.conv(self.relu(self.bn(x)))
138 x = self.pool(x)
139 return x
140
141class SEBlock(nn.Module):
142 def __init__(self, channels, reduction=16):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected