MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / forward

Method forward

timm/models/layers/cbam.py:92–95  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

90 self.spatial = SpatialAttn(spatial_kernel_size, gate_layer=gate_layer)
91
92 def forward(self, x):
93 x = self.channel(x)
94 x = self.spatial(x)
95 return x
96
97
98class LightCbamModule(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected