MCPcopy Create free account
hub / github.com/buaacxf/VIPTR / forward

Method forward

modules/SVTR.py:103–109  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

101 self.drop = nn.Dropout(drop)
102
103 def forward(self, x):
104 x = self.fc1(x)
105 x = self.act(x)
106 x = self.drop(x)
107 x = self.fc2(x)
108 x = self.drop(x)
109 return x
110
111
112class ConvMixer(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected