code: def clip(
      img: np.ndarray, dtype: np.dtype, maxval: float
  ) -> np.ndarray:
      return np.clip(img, 0, maxval).astype(dtype)
  
imports: from functools import wraps
  from typing import Callable, Union
  import cv2
  import numpy
  from typing_extensions import Concatenate, ParamSpec
  from albumentations.core.keypoints_utils import angle_to_2pi_range
  from albumentations.core.transforms_interface import KeypointInternalType
label_desc: Use image node_id 4 for calling a global function with example usage: clip(img, dtype, maxval) and returns: np