MCPcopy Create free account
hub / github.com/MarcCoru/locationencoder / forward

Method forward

locationencoder/nn/siren.py:51–56  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

49 bias.uniform_(-w_std, w_std)
50
51 def forward(self, x):
52 out = F.linear(x, self.weight, self.bias)
53 if self.dropout:
54 out = F.dropout(out, training=self.training)
55 out = self.activation(out)
56 return out
57
58# siren network
59

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected