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

Class DSConv1d

model/visualEncoder.py:132–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 return outputBatch
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)
146 return out + x
147
148class visualTCN(nn.Module):
149 def __init__(self):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected