MCPcopy Create free account
hub / github.com/BIT-MJY/CVTNet / forward

Method forward

modules/cvtnet.py:90–93  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

88 self.linear_2 = nn.Linear(d_ff, d_model)
89
90 def forward(self, x):
91 x = self.dropout(F.relu(self.linear_1(x)))
92 x = self.linear_2(x)
93 return x
94
95
96

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected