code: def shift(x, w):
      y = tf.pad(x, [[w] * 2, [w] * 2, [0] * 2], mode="REFLECT")
      return tf.image.random_crop(y, tf.shape(x))
  
imports: import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: shift(x, w) and returns: tf