MCPcopy Create free account
hub / github.com/SLDGroup/MERIT / forward

Method forward

lib/maxxvit_4out.py:1478–1483  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1476 named_apply(partial(_init_conv, scheme=scheme), self.conv)
1477
1478 def forward(self, x):
1479 x = self.conv(x)
1480 x = x.permute(0, 2, 3, 1)
1481 x = self.attn(x)
1482 x = x.permute(0, 3, 1, 2)
1483 return x
1484
1485
1486class MaxxVitStage(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected