class_docstr: Image modality
  
  Parameters
  ----------
  images: Union[List, numpy.ndarray], optional
      A list or tensor of images that the row indices are
      aligned with user/item in `ids`.
  
  paths: List[str], optional
      A list of paths, to images stored on disk, which
      the row indices are aligned with user/item in `ids`..
class_docstr_tok: ["Image","modality","Parameters","--","--","--","--","--","images",":","Union","[","List",",","numpy.ndarray","]",",","optional","A","list","or","tensor","of","images","that","the","row","indices","are","aligned","with","user\/item","in","`","ids","`",".","paths",":","List","[","str","]",",","optional","A","list","of","paths",",","to","images","stored","on","disk",",","which","the","row","indices","are","aligned","with","user\/item","in","`","ids","`",".."]
docstr: Return batch of images corresponding to provided batch_ids
  
  Parameters
  ----------
  batch_ids: Union[List, numpy.array], required
      An array containing the ids of rows of images to be returned.
  
  target_size: tuple, optional, default: (256, 256)
      Size (width, height) of returned images to be resized.
  
  color_mode: str, optional, default: 'rgb'
      Color mode of returned images.
  
  interpolation: str, optional, default: 'nearest'
      Method used for interpolation when resize images.
      Options are OpenCV supported methods.
  
  Returns
  -------
  res: numpy.ndarray
      Batch of images corresponding to input `batch_ids`.
docstr_tok: ["Return","batch","of","images","corresponding","to","provided","batch_ids","Parameters","--","--","--","--","--","batch_ids",":","Union","[","List",",","numpy.array","]",",","required","An","array","containing","the","ids","of","rows","of","images","to","be","returned",".","target_size",":","tuple",",","optional",",","default",":","(","256",",","256",")","Size","(","width",",","height",")","of","returned","images","to","be","resized",".","color_mode",":","str",",","optional",",","default",":","'rgb'","Color","mode","of","returned","images",".","interpolation",":","str",",","optional",",","default",":","'nearest'","Method","used","for","interpolation","when","resize","images",".","Options","are","OpenCV","supported","methods",".","Returns","--","--","--","-","res",":","numpy.ndarray","Batch","of","images","corresponding","to","input","`","batch_ids","`","."]
code: def batch_image(
      self,
      batch_ids,
      target_size=(256, 256),
      color_mode="rgb",
      interpolation="nearest",
  ):
      """Return batch of images corresponding to provided batch_ids
  
      Parameters
      ----------
      batch_ids: Union[List, numpy.array], required
          An array containing the ids of rows of images to be returned.
  
      target_size: tuple, optional, default: (256, 256)
          Size (width, height) of returned images to be resized.
  
      color_mode: str, optional, default: 'rgb'
          Color mode of returned images.
  
      interpolation: str, optional, default: 'nearest'
          Method used for interpolation when resize images.
          Options are OpenCV supported methods.
  
      Returns
      -------
      res: numpy.ndarray
          Batch of images corresponding to input `batch_ids`.
      """
      raise NotImplementedError
  
imports: from .None import FeatureModality
label_desc: Use image node_id 3 for calling the ImageModality obj's underlying member method code with example usage: obj.batch_image(batch_ids, target_size, color_mode, interpolation) without return types