Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
preprocess
Function · 0.80
preprocess
Function · 0.80
preprocess
Function · 0.80
preprocess
Function · 0.80
preprocess
Function · 0.80
lrepa_cosine_single
Function · 0.80
lidar.py
File · 0.80
_normalize
Method · 0.80
forward
Method · 0.80
conditionalx0.py
File · 0.80
sample
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected