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

Method forward

diffsynth/extensions/ImageQualityMetric/BLIP/vit.py:31–37  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

29 self.drop = nn.Dropout(drop)
30
31 def forward(self, x):
32 x = self.fc1(x)
33 x = self.act(x)
34 x = self.drop(x)
35 x = self.fc2(x)
36 x = self.drop(x)
37 return x
38
39
40class Attention(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected