code: def _set_pad_area(padded, axis, width_pair, value_pair):
      """Set an empty-padded area in given dimension."""
      left_slice = _slice_at_axis(slice(None, width_pair[0]), axis)
      padded[left_slice] = value_pair[0]
  
      right_slice = _slice_at_axis(
          slice(padded.shape[axis] - width_pair[1], None), axis
      )
      padded[right_slice] = value_pair[1]
  
file_path: cupy/cupy/_padding/pad.py
imports: import numbers
  import numpy
  import cupy
label_desc: Use image node_id 5 for calling a global function with example usage: _set_pad_area(padded, axis, width_pair, value_pair) without return types