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

Method __init__

ML/src/python/neuralforge/nn/modules.py:122–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120
121class GlobalAvgPool2d(nn.Module):
122 def __init__(self):
123 super().__init__()
124
125 def forward(self, x):
126 return x.mean([2, 3])

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected