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

Method single_encode

diffsynth/models/wan_video_vae.py:776–779  ·  view source on GitHub ↗
(self, video, device)

Source from the content-addressed store, hash-verified

774
775
776 def single_encode(self, video, device):
777 video = video.to(device)
778 x = self.model.encode(video, self.scale)
779 return x
780
781
782 def single_decode(self, hidden_state, device):

Callers 1

encodeMethod · 0.95

Calls 2

toMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected