'Args:
mode: opencv colorspace conversion code (e.g., `cv2.COLOR_BGR2HSV`)
keepdims (bool): keep the dimension of image unchanged if opencv
changes it.'

def __init__(self, mode, keepdims=True):

    self._init(locals())
