MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / forward

Method forward

dmidas/backbones/next_vit.py:143–148  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

141 self.projection = nn.Conv2d(out_channels, out_channels, kernel_size=1, bias=False)
142
143 def forward(self, x):
144 out = self.group_conv3x3(x)
145 out = self.norm(out)
146 out = self.act(out)
147 out = self.projection(out)
148 return out
149
150
151class Mlp(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected