Verbose print with meta data.
(self)
| 603 | return self.as_tensor().__format__(format_spec) |
| 604 | |
| 605 | def print_verbose(self) -> None: |
| 606 | """Verbose print with meta data.""" |
| 607 | print(self) |
| 608 | if self.meta is not None: |
| 609 | print(self.meta.__repr__()) |
| 610 | |
| 611 | |
| 612 | # needed in later versions of Pytorch to indicate the class is safe for serialisation |