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

Method __init__

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

Source from the content-addressed store, hash-verified

44
45class BiN_CTABL(pl.LightningModule):
46 def __init__(self, d2, d1, t1, t2, d3, t3, d4, t4):
47 super().__init__()
48
49 self.BiN = BiN(d2, d1, t1, t2)
50 self.BL = BL_layer(d2, d1, t1, t2)
51 self.BL2 = BL_layer(d3, d2, t2, t3)
52 self.TABL = TABL_layer(d4, d3, t3, t4)
53 self.dropout = nn.Dropout(0.1)
54
55 def forward(self, x):
56 x = x.squeeze(1)

Callers

nothing calls this directly

Calls 4

BiNClass · 0.90
BL_layerClass · 0.90
TABL_layerClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected