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

Method encode_point_clouds

point_e/models/sdf.py:28–35  ·  view source on GitHub ↗

Encode a batch of point clouds to cache part of the SDF calculation done by forward(). :param point_clouds: a batch of [batch x 3 x N] points. :return: a state representing the encoded point cloud batch.

(self, point_clouds: torch.Tensor)

Source from the content-addressed store, hash-verified

26
27 @abstractmethod
28 def encode_point_clouds(self, point_clouds: torch.Tensor) -> Dict[str, torch.Tensor]:
29 """
30 Encode a batch of point clouds to cache part of the SDF calculation
31 done by forward().
32
33 :param point_clouds: a batch of [batch x 3 x N] points.
34 :return: a state representing the encoded point cloud batch.
35 """
36
37 def forward(
38 self,

Callers 2

forwardMethod · 0.95
marching_cubes_meshFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected