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

Method quantize

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

Source from the content-addressed store, hash-verified

459 return x
460
461 def quantize(self, x, *args, **kwargs):
462 if self.vq_interface:
463 return x, None, [None, None, None]
464 return x
465
466 def forward(self, x, *args, **kwargs):
467 return x

Callers 10

encodeMethod · 0.80
decodeMethod · 0.80
p_sample_ddimMethod · 0.80
p_sample_ddim_sr_tMethod · 0.80
p_mean_varianceMethod · 0.80
p_mean_varianceMethod · 0.80
p_mean_varianceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected