MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / clone

Method clone

embodiedscan/structures/points/base_points.py:466–475  ·  view source on GitHub ↗

Clone the points. Returns: :obj:`BasePoints`: Point object with the same properties as self.

(self)

Source from the content-addressed store, hash-verified

464 attribute_dims=self.attribute_dims)
465
466 def clone(self) -> 'BasePoints':
467 """Clone the points.
468
469 Returns:
470 :obj:`BasePoints`: Point object with the same properties as self.
471 """
472 original_type = type(self)
473 return original_type(self.tensor.clone(),
474 points_dim=self.points_dim,
475 attribute_dims=self.attribute_dims)
476
477 def detach(self) -> 'BasePoints':
478 """Detach the points.

Callers 9

__init__Method · 0.45
reduce_meanFunction · 0.45
bbox3d_mapping_backFunction · 0.45
__init__Method · 0.45
simple_processMethod · 0.45
voxelizeMethod · 0.45
pre_decoderMethod · 0.45
forwardMethod · 0.45
apply_3d_transformationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected