MCPcopy 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
11class Swish(nn.Module):
12 def forward(self,x):
13 return x * torch.sigmoid(x)
14
15
16class Attention(nn.Module):

Callers 2

__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected