code: def interpolate(alpha_tf, x, y):
      tf = _lazy_import_tensorflow()
      x = tf.constant(x, dtype=tf.float32)
      y = tf.constant(y, dtype=tf.float32)
      range = tf.math.subtract(y, x)
      delta = tf.math.multiply(alpha_tf, range)
      return tf.math.add(x, delta)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import numpy
  from PIL import Image
  import turicreate.toolkits._tf_utils
  import turicreate
  from turicreate._deps.minimal_package import _minimal_package_import_check
label_desc: Use image node_id 2 for calling a global function with example usage: interpolate(alpha_tf, x, y) and returns: tf