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

Function _conv1d1x1

models/AxialLob/axiallob.py:7–9  ·  view source on GitHub ↗
(in_channels, out_channels)

Source from the content-addressed store, hash-verified

5
6
7def _conv1d1x1(in_channels, out_channels):
8 return nn.Sequential(nn.Conv1d(in_channels, out_channels, kernel_size=1, stride=1, bias=False),
9 nn.BatchNorm1d(out_channels))
10
11
12class GatedAxialAttention(pl.LightningModule):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected