code: def _unmap(data, count, inds, fill=0):
      """Unmap a subset of item (data) back to the original set of items (of
      size count)"""
      if len(data.shape) == 1:
          ret = np.empty((count,), dtype=np.float32)
          ret.fill(fill)
          ret[inds] = data
      else:
          ret = np.empty((count,) + data.shape[1:], dtype=np.float32)
          ret.fill(fill)
          ret[inds, :] = data
      return ret
  
file_path: CNTK/Examples/Image/Detection/utils/caffe_layers/anchor_target_layer.py
imports: import os
  import yaml
  import numpy
  import numpy.random
  from utils.caffe_layers.default_config import cfg
  from utils.rpn.generate_anchors import generate_anchors
  from utils.rpn.bbox_transform import bbox_transform
  from utils.cython_modules.cython_bbox import bbox_overlaps
label_desc: Use image node_id 1 for calling a global function with example usage: _unmap(data, count, inds, fill) and returns: ret