MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / __init__

Method __init__

wan/models/wan_vae_tiny.py:34–37  ·  view source on GitHub ↗
(self, n_f, stride)

Source from the content-addressed store, hash-verified

32
33class TPool(nn.Module):
34 def __init__(self, n_f, stride):
35 super().__init__()
36 self.stride = stride
37 self.conv = nn.Conv2d(n_f * stride, n_f, 1, bias=False)
38
39 def forward(self, x):
40 _NT, C, H, W = x.shape

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected