Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveVisionLab/DFNet
/ normalize
Function
normalize
dataset_loaders/load_7Scenes.py:134–136 ·
view source on GitHub ↗
Normalize a vector.
(v)
Source
from the content-addressed store, hash-verified
132
return
m
133
134
def
normalize(v):
135
""
"Normalize a vector."
""
136
return
v / np.linalg.norm(v)
137
138
def
average_poses(poses):
139
""
"
Callers
4
viewmatrix
Function · 0.70
average_poses
Function · 0.70
render_path_spiral
Function · 0.70
generate_render_pose
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected