def forward(self) -> Tensor:
        r"""Single-batch similarity transform".

        Returns:
            Similarity with shape :math:`(1, 3, 3)`

        """
        rot = self.scale * angle_to_rotation_matrix(self.rot)
        out = convert_affinematrix_to_homography(torch.cat([rot, self.shift], dim=2))
        return out
Single-batch similarity transform".

        Returns:
            Similarity with shape :math:`(1, 3, 3)`

        
kornia/geometry/transform/image_registrator.py