MCPcopy Create free account
hub / github.com/MegaScenes/nvs / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

264
265class VQModelInterface(VQModel):
266 def __init__(self, embed_dim, *args, **kwargs):
267 super().__init__(embed_dim=embed_dim, *args, **kwargs)
268 self.embed_dim = embed_dim
269
270 def encode(self, x):
271 h = self.encoder(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected