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

Class DummyDecoder

taming/modules/diffusionmodules/model.py:437–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435 return h
436
437class DummyDecoder(nn.Module):
438 def __init__(self, **ignorekwargs):
439 super().__init__()
440 def forward(self, z):
441 return z
442
443class Decoder(nn.Module):
444 def __init__(self, *, ch, out_ch, ch_mult=(1,2,4,8), num_res_blocks,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected