code: def get_normalizing_constant(d):
      """Returns the normalizing constant to scale the VAT perturbation vector."""
      c = 1e-12 + tf.reduce_max(tf.abs(d), keep_dims=True)
      c *= tf.sqrt(1e-6 + tf.reduce_sum(tf.pow(d, 2.0), keep_dims=True))
      return c
  
imports: import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: get_normalizing_constant(d) and returns: c