MCPcopy Create free account
hub / github.com/Totoro97/NeuS / forward

Method forward

models/fields.py:262–263  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

260 self.register_parameter('variance', nn.Parameter(torch.tensor(init_val)))
261
262 def forward(self, x):
263 return torch.ones([len(x), 1]) * torch.exp(self.variance * 10.0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected