MCPcopy Create free account
hub / github.com/bbaaii/DreamDiffusion / quantize

Method quantize

code/dc_ldm/models/autoencoder.py:559–562  ·  view source on GitHub ↗
(self, x, *args, **kwargs)

Source from the content-addressed store, hash-verified

557 return x
558
559 def quantize(self, x, *args, **kwargs):
560 if self.vq_interface:
561 return x, None, [None, None, None]
562 return x
563
564 def forward(self, x, *args, **kwargs):
565 return x

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected