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

Method forward

lib/pvtv2.py:145–149  ·  view source on GitHub ↗
(self, x, H, W)

Source from the content-addressed store, hash-verified

143 m.bias.data.zero_()
144
145 def forward(self, x, H, W):
146 x = x + self.drop_path(self.attn(self.norm1(x), H, W))
147 x = x + self.drop_path(self.mlp(self.norm2(x), H, W))
148
149 return x
150
151
152class OverlapPatchEmbed(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected