MCPcopy Create free account
hub / github.com/Gadersd/stable-diffusion-burn / __init__

Method __init__

python/dump.py:138–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136
137class AutoencoderKL:
138 def __init__(self):
139 self.encoder = Encoder()
140 self.decoder = Decoder()
141 self.quant_conv = Conv2d(8, 8, 1)
142 self.post_quant_conv = Conv2d(4, 4, 1)
143
144 def __call__(self, x):
145 latent = self.encoder(x)

Callers

nothing calls this directly

Calls 2

EncoderClass · 0.70
DecoderClass · 0.70

Tested by

no test coverage detected