docstr: Change the channel.
  
  Args:
      to_bgr (bool): confirm whether to convert RGB to BGR
      channel_first (bool): confirm whether to change channel
docstr_tok: ["Change","the","channel",".","Args",":","to_bgr","(","bool",")",":","confirm","whether","to","convert","RGB","to","BGR","channel_first","(","bool",")",":","confirm","whether","to","change","channel"]
code: def __init__(self, to_bgr=True, channel_first=True):
      """
      Change the channel.
  
      Args:
          to_bgr (bool): confirm whether to convert RGB to BGR
          channel_first (bool): confirm whether to change channel
      """
      self.to_bgr = to_bgr
      self.channel_first = channel_first
  
imports: from __future__ import absolute_import
  from __future__ import print_function
  from __future__ import division
  import os
  import random
  import cv2
  import numpy
  from PIL import Image
label_desc: Use image node_id 1 to create a new Permute object from inherited base classes: object with example: obj = Permute(to_bgr, channel_first)