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

Method forward

ML/src/python/neuralforge/nn/modules.py:185–188  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

183 self.spatial_attention = SpatialAttention(kernel_size)
184
185 def forward(self, x):
186 x = self.channel_attention(x)
187 x = self.spatial_attention(x)
188 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected