code: def prob_normalize(p):
      p = np.asarray(p).astype(np.float32)
      assert len(p.shape) == 2
      return p / np.sum(p)
  
file_path: insightface/reconstruction/ostec/external/stylegan2/metrics/linear_separability.py
imports: from collections import defaultdict
  import numpy
  import sklearn.svm
  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: prob_normalize(p) and returns: unknown