Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
def
encode_position(position):
71
return
posenc_nerf(position, min_deg=0, max_deg=15)
72
73
74
def
encode_direction(position, direction=None):
Callers
2
__init__
Method · 0.85
forward
Method · 0.85
Calls
1
posenc_nerf
Function · 0.85
Tested by
no test coverage detected