MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / clone

Method clone

detectron2/structures/boxes.py:160–167  ·  view source on GitHub ↗

Clone the Boxes. Returns: Boxes

(self)

Source from the content-addressed store, hash-verified

158 self.tensor = tensor
159
160 def clone(self) -> "Boxes":
161 """
162 Clone the Boxes.
163
164 Returns:
165 Boxes
166 """
167 return Boxes(self.tensor.clone())
168
169 # https://github.com/pytorch/pytorch/issues/47405
170 @torch.jit.unused

Callers 15

__init__Method · 0.45
_create_gradient_clipperFunction · 0.45
__init__Method · 0.45
build_hooksMethod · 0.45
auto_scale_workersMethod · 0.45
convertMethod · 0.45
batched_nms_rotatedFunction · 0.45
get_cfgFunction · 0.45
upgrade_configFunction · 0.45
downgrade_configFunction · 0.45

Calls 1

BoxesClass · 0.85