code: def normalize(v):
      return v / tf.sqrt(
          tf.reduce_sum(tf.square(v), axis=-1, keepdims=True)
      )
  
file_path: insightface/reconstruction/ostec/external/stylegan2/metrics/perceptual_path_length.py
imports: import numpy
  import tensorflow
  import dnnlib.tflib
  from metrics import metric_base
  from training import misc
label_desc: Use image node_id 1 for calling a global function with example usage: normalize(v) and returns: unknown