MCPcopy Create free account
hub / github.com/TaoRuijie/TalkNet-ASD / __init__

Method __init__

model/visualEncoder.py:133–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131
132class DSConv1d(nn.Module):
133 def __init__(self):
134 super(DSConv1d, self).__init__()
135 self.net = nn.Sequential(
136 nn.ReLU(),
137 nn.BatchNorm1d(512),
138 nn.Conv1d(512, 512, 3, stride=1, padding=1,dilation=1, groups=512, bias=False),
139 nn.PReLU(),
140 GlobalLayerNorm(512),
141 nn.Conv1d(512, 512, 1, bias=False),
142 )
143
144 def forward(self, x):
145 out = self.net(x)

Callers

nothing calls this directly

Calls 2

GlobalLayerNormClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected