def __repr__(self) -> str:
        """print the basic information of the transform.

        Returns:
            str: Formatted string.
        """
        repr_str = self.__class__.__name__
        repr_str += f'(prob={self.prob}, '
        repr_str += f'direction={self.direction})'
        return repr_str
print the basic information of the transform.

        Returns:
            str: Formatted string.
        
mmpose/mmpose/datasets/transforms/common_transforms.py