MCPcopy Create free account
hub / github.com/BorealisAI/scaleformer / forward

Method forward

models/NHitsMS.py:94–97  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

92 self.downsample.weight.data.normal_(0, 0.01)
93
94 def forward(self, x):
95 out = self.net(x)
96 res = x if self.downsample is None else self.downsample(x)
97 return self.relu(out + res)
98
99
100class _TemporalConvNet(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected