class_docstr: Transposes a tensor so that the channel dim is first.
  `CHW` and `CDHW` are aliases for this transform.
  
  :param safe_check: (bool):
      if true, will check if channels are already first and, if so,
      will just return the inputs
code: def __init__(self, safe_check=False):
      self.safe_check = safe_check
  
imports: import os
  import random
  import math
  import numpy
  import torch
label_desc: Use image node_id 1 to create a new ChannelsFirst object  with example: obj = ChannelsFirst(safe_check)