MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / decode_naive

Method decode_naive

diffsynth/models/stepvideo_vae.py:983–986  ·  view source on GitHub ↗
(self, z, is_init=True)

Source from the content-addressed store, hash-verified

981 return posterior.sample()
982
983 def decode_naive(self, z, is_init=True):
984 z = z.to(next(self.decoder.parameters()).dtype)
985 dec = self.decoder(z, is_init)
986 return dec
987
988 @torch.inference_mode()
989 def decode_original(self, z):

Callers 3

decode_originalMethod · 0.95
single_decodeMethod · 0.95
tiled_decodeMethod · 0.95

Calls 1

toMethod · 0.45

Tested by

no test coverage detected