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

Method forward

locationencoder/nn/siren.py:117–126  ·  view source on GitHub ↗
(self, z)

Source from the content-addressed store, hash-verified

115 ))
116
117 def forward(self, z):
118 x = z
119 hiddens = []
120
121 for layer in self.layers:
122 x = layer(x)
123 hiddens.append(x)
124 x = torch.cat((x, z))
125
126 return tuple(hiddens)
127
128# wrapper
129

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected