MCPcopy Create free account
hub / github.com/openai/shap-e / append_tensor

Function append_tensor

shap_e/models/renderer.py:166–169  ·  view source on GitHub ↗
(val_list: Optional[List[torch.Tensor]], output: Optional[torch.Tensor])

Source from the content-addressed store, hash-verified

164
165
166def append_tensor(val_list: Optional[List[torch.Tensor]], output: Optional[torch.Tensor]):
167 if val_list is None:
168 return [output]
169 return val_list + [output]
170
171
172def render_views_from_rays(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected