Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Francis-Rings/FlashPortrait
/ forward
Method
forward
wan/models/wan_vae_tiny.py:18–19 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
16
17
class
Clamp(nn.Module):
18
def
forward(self, x):
19
return
torch.tanh(x / 3) * 3
20
21
22
class
MemBlock(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected