def get_keypoint(self, keypoint: FaceKeypoint) -> torch.Tensor:
    'The [x y] position of a given facial keypoint.\n\n        Args:\n            keypoint: the keypoint type to return the position.\n        '
    if (keypoint == FaceKeypoint.EYE_LEFT):
        out = self._data[(..., (4, 5))]
    elif (keypoint == FaceKeypoint.EYE_RIGHT):
        out = self._data[(..., (6, 7))]
    elif (keypoint == FaceKeypoint.NOSE):
        out = self._data[(..., (8, 9))]
    elif (keypoint == FaceKeypoint.MOUTH_LEFT):
        out = self._data[(..., (10, 11))]
    elif (keypoint == FaceKeypoint.MOUTH_RIGHT):
        out = self._data[(..., (12, 13))]
    else:
        raise ValueError(f'Not valid keypoint type. Got: {keypoint}.')
    return out
The [x y] position of a given facial keypoint.

Args:
    keypoint: the keypoint type to return the position.
def get_keypoint(self, keypoint: FaceKeypoint) -> torch.Tensor:
    'The [x y] position of a given facial keypoint.\n\n        Args:\n            keypoint: the keypoint type to return the position.\n        '
    if (keypoint == FaceKeypoint.EYE_LEFT):
        out = self._data[(..., (4, 5))]
    elif (keypoint == FaceKeypoint.EYE_RIGHT):
        out = self._data[(..., (6, 7))]
    elif (keypoint == FaceKeypoint.NOSE):
        out = self._data[(..., (8, 9))]
    elif (keypoint == FaceKeypoint.MOUTH_LEFT):
        out = self._data[(..., (10, 11))]
    elif (keypoint == FaceKeypoint.MOUTH_RIGHT):
        out = self._data[(..., (12, 13))]
    else:
        raise ValueError(f'Not valid keypoint type. Got: {keypoint}.')
    return out