MCPcopy Create free account
hub / github.com/dek924/PerX2CT / forward

Method forward

taming/modules/diffusionmodules/model.py:724–734  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

722 padding=1)
723
724 def forward(self, x):
725 for i, layer in enumerate(self.model):
726 if i in [1,2,3]:
727 x = layer(x, None)
728 else:
729 x = layer(x)
730
731 h = self.norm_out(x)
732 h = nonlinearity(h)
733 x = self.conv_out(h)
734 return x
735
736
737class UpsampleDecoder(nn.Module):

Callers

nothing calls this directly

Calls 1

nonlinearityFunction · 0.70

Tested by

no test coverage detected