code: def _update_pos(curr_pos, end_pos, absolute):
      if absolute:
          return end_pos
      return curr_pos[0] + end_pos[0], curr_pos[1] + end_pos[1]
  
imports: import io
  import numpy
  from PIL import Image
  from six.moves import zip_longest
  from skimage import draw
  import tensorflow.compat.v1
label_desc: Use image node_id 22 for calling a global function with example usage: _update_pos(curr_pos, end_pos, absolute) and returns: unknown,  unknown, end_pos