code: def pad_icon(img, pad, fill=0):
      h, w, c = img.shape[:3]
      img_pad = np.full(
          (h + 2 * pad, w + 2 * pad, c), fill, dtype=img.dtype
      )
      img_pad[pad : (pad + h), pad : (pad + w), :] = img
      return img_pad
  
imports: import itertools
  import warnings
  import numpy
  import sklearn.linear_model
  import sklearn.metrics
  import eta.core.serial
  import eta.core.utils
  import fiftyone.core.expressions
  import fiftyone.core.labels
label_desc: Use image node_id 13 for calling a global function with example usage: pad_icon(img, pad, fill) and returns: img_pad