MCPcopy Create free account
hub / github.com/WuTao-CS/CustomCrafter / quantize

Method quantize

lvdm/models/autoencoder.py:213–216  ·  view source on GitHub ↗
(self, x, *args, **kwargs)

Source from the content-addressed store, hash-verified

211 return x
212
213 def quantize(self, x, *args, **kwargs):
214 if self.vq_interface:
215 return x, None, [None, None, None]
216 return x
217
218 def forward(self, x, *args, **kwargs):
219 return x

Callers 2

p_sample_ddimMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected