Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Francis-Rings/FlashPortrait
/ __init__
Method
__init__
wan/models/wan_vae_tiny.py:45–48 ·
view source on GitHub ↗
(self, n_f, stride)
Source
from the content-addressed store, hash-verified
43
44
class
TGrow(nn.Module):
45
def
__init__(self, n_f, stride):
46
super().__init__()
47
self.stride = stride
48
self.conv = nn.Conv2d(n_f, n_f * stride, 1, bias=False)
49
50
def
forward(self, x):
51
_NT, C, H, W = x.shape
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected