(self, other)
| 159 | return super().detach() |
| 160 | |
| 161 | def _reset(self, other): |
| 162 | if not isinstance(other, _Tensor): |
| 163 | other = Tensor(other, dtype=self.dtype, device=self.device) |
| 164 | super()._reset(other) |
| 165 | |
| 166 | def __repr__(self): |
| 167 | piece = "{}(".format(self.__class__.__name__) |