code: def _imresize_after(img, channel_first):
      if channel_first and len(img.shape) == 3:
          img = img.transpose((2, 0, 1))
  
      return img
  
file_path: nnabla/python/src/nnabla/utils/image_utils/backend_events/common.py
imports: from __future__ import division, absolute_import
  import numpy
  from nnabla.logger import logger
label_desc: Use image node_id 11 for calling a global function with example usage: _imresize_after(img, channel_first) and returns: img