MCPcopy Create free account
hub / github.com/apple/ml-pointersect / detach

Method detach

pointersect/inference/structures.py:131–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 return self
130
131 def detach(self) -> 'PointCloud':
132 for attr_name in self.attr_names:
133 arr = getattr(self, attr_name, None)
134 if arr is not None:
135 setattr(self, attr_name, arr.detach())
136 return self
137
138 def clone(self) -> 'PointCloud':
139 data_dict = dict()

Callers

nothing calls this directly

Calls 1

detachMethod · 0.45

Tested by

no test coverage detected