Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImagingLab/FlashVSR
/ Upsample
Class
Upsample
diffsynth/models/wan_video_vae.py:74–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
73
74
class
Upsample(nn.Upsample):
75
76
def
forward(self, x):
77
""
"
78
Fix bfloat16 support
for
nearest neighbor interpolation.
79
""
"
80
return
super().forward(x.float()).type_as(x)
81
82
83
class
Resample(nn.Module):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected