Return a copy of this storage.
(self)
| 122 | return super().__sizeof__() + self.size() |
| 123 | |
| 124 | def clone(self): |
| 125 | """Return a copy of this storage.""" |
| 126 | return type(self)(self.nbytes(), device=self.device).copy_(self) |
| 127 | |
| 128 | def tolist(self): |
| 129 | """Return a list containing the elements of this storage.""" |
no test coverage detected