code: def get_normalized_vector(d):
      """Normalizes the provided input vector."""
      d /= 1e-12 + tf.reduce_max(tf.abs(d), keep_dims=True)
      d /= tf.sqrt(1e-6 + tf.reduce_sum(tf.pow(d, 2.0), keep_dims=True))
      return d
  
imports: import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: get_normalized_vector(d) and returns: d