MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / quantize

Method quantize

ldm/models/autoencoder.py:220–223  ·  view source on GitHub ↗
(self, x, *args, **kwargs)

Source from the content-addressed store, hash-verified

218 return x
219
220 def quantize(self, x, *args, **kwargs):
221 if self.vq_interface:
222 return x, None, [None, None, None]
223 return x
224
225 def forward(self, x, *args, **kwargs):
226 return x

Callers 4

p_sample_ddimMethod · 0.80
p_mean_varianceMethod · 0.80
p_sample_ddimMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected