def get_pose_stats(kps):
    """Get statistic information `mean` and `std` of pose data.

    Args:
        kps (ndarray): keypoints in shape [..., K, D] where K and D is
            the keypoint category number and dimension.
    Returns:
        mean (ndarray): [K, D]
    """
    assert kps.ndim > 2
    K, D = kps.shape[-2:]
    kps = kps.reshape(-1, K, D)
    mean = kps.mean(axis=0)
    std = kps.std(axis=0)
    return mean, std
Get statistic information `mean` and `std` of pose data.

    Args:
        kps (ndarray): keypoints in shape [..., K, D] where K and D is
            the keypoint category number and dimension.
    Returns:
        mean (ndarray): [K, D]
    
mmpose/tools/dataset_converters/preprocess_mpi_inf_3dhp.py