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

Method __init__

models/TABL/bin_tabl.py:10–16  ·  view source on GitHub ↗
(self, d2, d1, t1, t2, d3, t3)

Source from the content-addressed store, hash-verified

8
9class BiN_BTABL(pl.LightningModule):
10 def __init__(self, d2, d1, t1, t2, d3, t3):
11 super().__init__()
12
13 self.BiN = BiN(d2, d1, t1, t2)
14 self.BL = BL_layer(d2, d1, t1, t2)
15 self.TABL = TABL_layer(d3, d2, t2, t3)
16 self.dropout = nn.Dropout(0.1)
17
18 def forward(self, x):
19 x = x.squeeze(1)

Callers 1

__init__Method · 0.45

Calls 3

BiNClass · 0.90
BL_layerClass · 0.90
TABL_layerClass · 0.90

Tested by

no test coverage detected