docstr: Remove keypoints that are outside image dimensions.
docstr_tok: ["Remove","keypoints","that","are","outside","image","dimensions","."]
code: def _remove_albu_outside_keypoints(
      cls, tfms_kpts, kpts_visible, size_no_padding
  ):
      """Remove keypoints that are outside image dimensions."""
      v = kpts_visible
      v_n = v.copy()
      tra_n = tfms_kpts.copy()
      for i in range(len(tfms_kpts)):
          if v[i] > 0:
              v_n[i] = cls._check_kps_coords(
                  tfms_kpts[i], size_no_padding
              )
              if v_n[i] == 1:
                  v_n[i] = v[i]
          if v_n[i] == 0:
              tra_n[i] = (0, 0)
          tra_n[i] = (tra_n[i][0], tra_n[i][1], v_n[i])
      return tra_n
  
imports: import albumentations
  from itertools import chain
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from icevision.tfms.transform import *
  from icevision.tfms.albumentations.albumentations_helpers import get_size_without_padding, get_transform
label_desc: Use image node_id 3 for calling the AlbumentationsKeypointsComponent obj's underlying member method code with example usage: obj._remove_albu_outside_keypoints(cls, tfms_kpts, kpts_visible, size_no_padding) and returns: tra_n