MCPcopy
hub / github.com/MeiGen-AI/InfiniteTalk / decode

Method decode

wan/modules/vae.py:657–663  ·  view source on GitHub ↗
(self, zs)

Source from the content-addressed store, hash-verified

655 ]
656
657 def decode(self, zs):
658 with amp.autocast(dtype=self.dtype):
659 return [
660 self.model.decode(u.unsqueeze(0),
661 self.scale).float().clamp_(-1, 1).squeeze(0)
662 for u in zs
663 ]

Callers 8

generateMethod · 0.45
generateMethod · 0.45
generateMethod · 0.45
decode_latentMethod · 0.45
generate_infinitetalkMethod · 0.45
rand_nameFunction · 0.45
rand_nameFunction · 0.45
get_video_codecFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected