code: def col2im_cpu(col, sy, sx, ph, pw, h, w, dy=1, dx=1):
      n, c, kh, kw, out_h, out_w = col.shape
      img = numpy.zeros(
          (n, c, h + 2 * ph + sy - 1, w + 2 * pw + sx - 1),
          dtype=col.dtype,
      )
      for j in six.moves.range(kh):
          jdy = j * dy
          j_lim = jdy + sy * out_h
          for i in six.moves.range(kw):
              idx = i * dx
              i_lim = idx + sx * out_w
              img[:, :, jdy:j_lim:sy, idx:i_lim:sx] += col[:, :, j, i]
      return img[:, :, ph : h + ph, pw : w + pw]
  
file_path: chainer/chainer/utils/conv.py
imports: import numpy
  import six
  from chainer.backends import cuda
label_desc: Use image node_id 6 for calling a global function with example usage: col2im_cpu(col, sy, sx, ph, pw, h, w, dy, dx) and returns: img