Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveVisionLab/DFNet
/ normalize
Function
normalize
dataset_loaders/cambridge_scenes.py:67–68 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
65
return
img_depth
66
67
def
normalize(x):
68
return
x / np.linalg.norm(x)
69
70
def
viewmatrix(z, up, pos):
71
vec2 = normalize(z)
Callers
2
viewmatrix
Function · 0.70
normalize_recenter_pose
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected