Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Francis-Rings/FlashPortrait
/ encode_video
Method
encode_video
wan/models/wan_vae_tiny.py:265–266 ·
view source on GitHub ↗
(self, vid)
Source
from the content-addressed store, hash-verified
263
264
@torch.no_grad()
265
def
encode_video(self, vid):
266
return
self.taehv.encode_video(vid)
267
268
@torch.no_grad()
269
def
decode_video(self, vid_enc):
Callers
nothing calls this directly
Calls
1
encode_video
Method · 0.45
Tested by
no test coverage detected