Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/InstantSplat
/ normalize
Function
normalize
utils/pose_utils.py:217–218 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
215
return
torch.cat([quat, tran])
216
217
def
normalize(x):
218
return
x / np.linalg.norm(x)
219
220
221
def
viewmatrix(lookdir, up, position, subtract_position=False):
Callers
1
viewmatrix
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected