MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / normalize

Method normalize

utils/lidar.py:52–54  ·  view source on GitHub ↗

Scale from [0, 1] to [-1, +1]

(x)

Source from the content-addressed store, hash-verified

50
51 @staticmethod
52 def normalize(x):
53 """Scale from [0, 1] to [-1, +1]"""
54 return x * 2 - 1
55
56 @torch.no_grad()
57 def to_xyz(self, metric):

Callers 11

preprocessFunction · 0.80
preprocessFunction · 0.80
preprocessFunction · 0.80
preprocessFunction · 0.80
preprocessFunction · 0.80
lrepa_cosine_singleFunction · 0.80
lidar.pyFile · 0.80
_normalizeMethod · 0.80
forwardMethod · 0.80
conditionalx0.pyFile · 0.80
sampleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected