Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ forward
Method
forward
ML/src/python/neuralforge/nn/modules.py:125–126 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
123
super().__init__()
124
125
def
forward(self, x):
126
return
x.mean([2, 3])
127
128
class
GlobalMaxPool2d(nn.Module):
129
def
__init__(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected