(self)
| 290 | self._internal_update(kwargs) |
| 291 | |
| 292 | def __str__(self): |
| 293 | try: |
| 294 | shape = self.get_shape() |
| 295 | return f"{type(self).__name__}(shape={shape!r})" |
| 296 | except RuntimeError: |
| 297 | return type(self).__name__ |
| 298 | |
| 299 | def __getstate__(self): |
| 300 | # Save some space on the pickle by not saving the cache. |