Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ copy
Method
copy
torch/_numpy/_ndarray.py:292–293 ·
view source on GitHub ↗
(self: ArrayLike, order: NotImplementedType = "C")
Source
from the content-addressed store, hash-verified
290
291
@normalizer
292
def
copy(self: ArrayLike, order: NotImplementedType =
"C"
):
293
return
self.clone()
294
295
@normalizer
296
def
flatten(self: ArrayLike, order: NotImplementedType =
"C"
):
Callers
15
whichmodule
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
minimize
Function · 0.45
_set_inputs
Method · 0.45
_coalesce_timeline
Method · 0.45
set_current_meta
Function · 0.45
__deepcopy__
Method · 0.45
node_copy
Method · 0.45
cache
Method · 0.45
_method_from_src
Function · 0.45
__reduce_deploy__
Method · 0.45
Calls
1
clone
Method · 0.45
Tested by
3
_test_allgather_object
Method · 0.36
_test_gather_object
Method · 0.36
_test_broadcast_object_list
Method · 0.36