Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/yangchris11/samurai
/ copy
Method
copy
lib/utils/tensor.py:14–15 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
12
return
TensorDict(self, **other)
13
14
def
copy(self):
15
return
TensorDict(super(TensorDict, self).copy())
16
17
def
__deepcopy__(self, memodict={}):
18
return
TensorDict(copy.deepcopy(list(self), memodict))
Callers
7
build_sam2
Function · 0.45
build_sam2_video_predictor
Function · 0.45
_get_image_feature
Method · 0.45
remove_object
Method · 0.45
_prepare_backbone_features
Method · 0.45
__init__
Method · 0.45
copy
Method · 0.45
Calls
1
TensorDict
Class · 0.85
Tested by
no test coverage detected