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

Method __init__

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

Source from the content-addressed store, hash-verified

127
128class GlobalMaxPool2d(nn.Module):
129 def __init__(self):
130 super().__init__()
131
132 def forward(self, x):
133 return x.max(dim=2)[0].max(dim=2)[0]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected