Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zhiyuan-R/Tiger-Diffusion
/ Swish
Class
Swish
modules/pvconv.py:11–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
10
11
class
Swish(nn.Module):
12
def
forward(self,x):
13
return
x * torch.sigmoid(x)
14
15
16
class
Attention(nn.Module):
Callers
2
__init__
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected