class_docstr: Convert into another color space.  
class_docstr_tok: ["Convert","into","another","color","space","."]
code: def _augment(self, img, _):
      transf = cv2.cvtColor(img, self.mode)
      if self.keepdims:
          if len(transf.shape) is not len(img.shape):
              transf = transf[..., None]
      return transf
  
file_path: tensorpack/tensorpack/dataflow/imgaug/convert.py
imports: import numpy
  import cv2
  from .base import PhotometricAugmentor
label_desc: Use image node_id 2 for calling the ColorSpace obj's underlying member method code with example usage: obj._augment(img, _) and returns: transf