MCPcopy Create free account
hub / github.com/pytorch/pytorch / clone

Method clone

test/test_serialization.py:3985–3986  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3983 return r
3984
3985 def clone(self):
3986 return type(self)(self.elem.clone())
3987
3988
3989class TestGetStateSubclass(torch.Tensor):

Calls

no outgoing calls

Tested by

no test coverage detected