Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/LeapLabTHU/ActiveNeRF
/ normalize
Function
normalize
load_llff.py:125–126 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
123
124
125
def
normalize(x):
126
return
x / np.linalg.norm(x)
127
128
def
viewmatrix(z, up, pos):
129
vec2 = normalize(z)
Callers
5
viewmatrix
Function · 0.85
poses_avg
Function · 0.85
render_path_spiral
Function · 0.85
spherify_poses
Function · 0.85
load_llff_data
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected