MCPcopy Create free account
hub / github.com/RolnickLab/climart / forward

Method forward

climart/models/modules/additional_layers.py:66–70  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

64 )
65
66 def forward(self, x):
67 b, c, f = x.shape
68 y = self.squeeze(x).view(b, c)
69 y = self.excitation(y).view(b, c, 1)
70 return x * y.expand_as(x)
71
72
73class FeatureProjector(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected