MCPcopy
hub / github.com/openai/shap-e / copy

Method copy

shap_e/models/query.py:16–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 t_max: Optional[torch.Tensor] = None
15
16 def copy(self) -> "Query":
17 return Query(
18 position=self.position,
19 direction=self.direction,
20 t_min=self.t_min,
21 t_max=self.t_max,
22 )
23
24 def map_tensors(self, f: Callable[[torch.Tensor], torch.Tensor]) -> "Query":
25 return Query(

Callers 11

sample_latentsFunction · 0.80
condition_scoreMethod · 0.80
model_from_configFunction · 0.80
render_raysMethod · 0.80
render_raysMethod · 0.80
forwardMethod · 0.80
_queryMethod · 0.80
render_raysMethod · 0.80
load_or_create_multiviewFunction · 0.80
normalize_input_batchFunction · 0.80
render_modelFunction · 0.80

Calls 1

QueryClass · 0.85

Tested by

no test coverage detected