code: def channel_dropout(
      img: np.ndarray,
      channels_to_drop: Union[int, Tuple[int, ...], np.ndarray],
      fill_value: Union[int, float] = 0,
  ) -> np.ndarray:
      if len(img.shape) == 2 or img.shape[2] == 1:
          raise NotImplementedError(
              "Only one channel. ChannelDropout is not defined."
          )
  
      img = img.copy()
      img[..., channels_to_drop] = fill_value
      return img
  
imports: from typing import Iterable, List, Tuple, Union
  import numpy
  from albumentations.augmentations.utils import preserve_shape
label_desc: Use image node_id 1 for calling a global function with example usage: channel_dropout(img, channels_to_drop, fill_value) and returns: img