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

Method forward

inpaint/networks.py:488–494  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

486 )
487
488 def forward(self, x):
489 out = x + self.conv_block(x)
490
491 # Remove ReLU at the end of the residual block
492 # http://torch.ch/blog/2016/02/04/resnets.html
493
494 return out
495
496
497def spectral_norm(module, mode=True):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected