MCPcopy Create free account
hub / github.com/openai/point-e / sample_batch

Method sample_batch

point_e/diffusion/sampler.py:90–94  ·  view source on GitHub ↗
(self, batch_size: int, model_kwargs: Dict[str, Any])

Source from the content-addressed store, hash-verified

88 return len(self.models)
89
90 def sample_batch(self, batch_size: int, model_kwargs: Dict[str, Any]) -> torch.Tensor:
91 samples = None
92 for x in self.sample_batch_progressive(batch_size, model_kwargs):
93 samples = x
94 return samples
95
96 def sample_batch_progressive(
97 self, batch_size: int, model_kwargs: Dict[str, Any]

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected