code: def row_norm(inputs):
      outputs = []
      for x in inputs:
          xsum = x.sum()
          x = x / xsum
          outputs.append(x)
      return outputs
  
file_path: insightface/reconstruction/ostec/external/graphonomy/FaceHairMask/graph.py
imports: import torch
  import numpy
  import networkx
  import scipy.sparse
label_desc: Use image node_id 3 for calling a global function with example usage: row_norm(inputs) and returns: outputs