MCPcopy 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
217def normalize(x):
218 return x / np.linalg.norm(x)
219
220
221def viewmatrix(lookdir, up, position, subtract_position=False):

Callers 1

viewmatrixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected