MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / forward

Method forward

diffsynth/models/step1x_connector.py:60–67  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

58 self.drop2 = nn.Dropout(drop_probs[1])
59
60 def forward(self, x):
61 x = self.fc1(x)
62 x = self.act(x)
63 x = self.drop1(x)
64 x = self.norm(x)
65 x = self.fc2(x)
66 x = self.drop2(x)
67 return x
68
69
70class TextProjection(nn.Module):

Callers

nothing calls this directly

Calls 1

normMethod · 0.80

Tested by

no test coverage detected