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

Method forward

modules/shared_mlp.py:8–9  ·  view source on GitHub ↗
(self,x)

Source from the content-addressed store, hash-verified

6
7class Swish(nn.Module):
8 def forward(self,x):
9 return x * torch.sigmoid(x)
10
11class SharedMLP(nn.Module):
12 def __init__(self, in_channels, out_channels, dim=1):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected