MCPcopy Create free account
hub / github.com/IceClear/StableSR / __init__

Method __init__

ldm/models/autoencoder.py:272–274  ·  view source on GitHub ↗
(self, embed_dim, *args, **kwargs)

Source from the content-addressed store, hash-verified

270
271class VQModelInterface(VQModel):
272 def __init__(self, embed_dim, *args, **kwargs):
273 super().__init__(embed_dim=embed_dim, *args, **kwargs)
274 self.embed_dim = embed_dim
275
276 def encode(self, x):
277 h = self.encoder(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected