Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openai/shap-e
/ encode_position
Method
encode_position
shap_e/models/nerf/model.py:170–172 ·
view source on GitHub ↗
(self, query: Query)
Source
from the content-addressed store, hash-verified
168
self.to(device)
169
170
def
encode_position(self, query: Query):
171
h = encode_position(self.posenc_version, position=query.position)
172
return
h
173
174
def
forward(
175
self,
Callers
1
forward
Method · 0.95
Calls
1
encode_position
Function · 0.90
Tested by
no test coverage detected