MCPcopy Create free account
hub / github.com/Zhiyuan-R/Tiger-Diffusion / forward

Method forward

modules/se.py:6–7  ·  view source on GitHub ↗
(self,x)

Source from the content-addressed store, hash-verified

4
5class Swish(nn.Module):
6 def forward(self,x):
7 return x * torch.sigmoid(x)
8class SE3d(nn.Module):
9 def __init__(self, channel, reduction=8, use_relu=False):
10 super().__init__()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected