Prints a representation of the tensor. Prepends "meta" to ``torch.Tensor.__str__``. Use ``print_verbose`` for associated metadata.
(self)
| 589 | return f"meta{self.as_tensor().__repr__()}" |
| 590 | |
| 591 | def __str__(self): |
| 592 | """ |
| 593 | Prints a representation of the tensor. |
| 594 | Prepends "meta" to ``torch.Tensor.__str__``. |
| 595 | Use ``print_verbose`` for associated metadata. |
| 596 | """ |
| 597 | return f"meta{str(self.as_tensor())}" |
| 598 | |
| 599 | def __format__(self, format_spec): |
| 600 | """ |