def trans_x(cls, x: Tensor) -> Se2:
        """Construct a x-axis translation.

        Args:
            x: the x-axis translation.

        """
        zs = zeros_like(x)
        return cls.trans(x, zs)
Construct a x-axis translation.

        Args:
            x: the x-axis translation.

        
kornia/geometry/liegroup/se2.py