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

Method forward

models/NHits.py:80–83  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

78 self.downsample.weight.data.normal_(0, 0.01)
79
80 def forward(self, x):
81 out = self.net(x)
82 res = x if self.downsample is None else self.downsample(x)
83 return self.relu(out + res)
84
85
86class _TemporalConvNet(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected