MCPcopy Create free account
hub / github.com/FinancialComputingUCL/LOBFrame / forward

Method forward

models/TABL/bl_layer.py:23–27  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

21 self.activation = nn.ReLU()
22
23 def forward(self, x):
24
25 x = self.activation(self.W1 @ x @ self.W2 + self.B)
26
27 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected