MCPcopy Create free account
hub / github.com/NVlabs/InstantSplat / z_score

Method z_score

lpipsPyTorch/modules/networks.py:50–51  ·  view source on GitHub ↗
(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

48 param.requires_grad = state
49
50 def z_score(self, x: torch.Tensor):
51 return (x - self.mean) / self.std
52
53 def forward(self, x: torch.Tensor):
54 x = self.z_score(x)

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected