MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / encode_position

Function encode_position

diffusers/src/diffusers/pipelines/shap_e/renderer.py:70–71  ·  view source on GitHub ↗
(position)

Source from the content-addressed store, hash-verified

68
69
70def encode_position(position):
71 return posenc_nerf(position, min_deg=0, max_deg=15)
72
73
74def encode_direction(position, direction=None):

Callers 2

__init__Method · 0.85
forwardMethod · 0.85

Calls 1

posenc_nerfFunction · 0.85

Tested by

no test coverage detected