Get the affine. Defaults to ``torch.eye(4, dtype=torch.float64)``
(self)
| 462 | |
| 463 | @property |
| 464 | def affine(self) -> torch.Tensor: |
| 465 | """Get the affine. Defaults to ``torch.eye(4, dtype=torch.float64)``""" |
| 466 | return self.meta.get(MetaKeys.AFFINE, self.get_default_affine()) # type: ignore |
| 467 | |
| 468 | @affine.setter |
| 469 | def affine(self, d: NdarrayTensor) -> None: |
no test coverage detected