code: def strip_invalid_chars(name):
      return (
          re.sub(_valid_chars_re, r"_", name).strip("_") if name else ""
      )
  
file_path: probability/tensorflow_probability/python/internal/name_util.py
imports: import contextlib
  import re
  import tensorflow.compat.v1
  import tensorflow.compat.v2
label_desc: Use image node_id 1 for calling a global function with example usage: strip_invalid_chars(name) and returns: unknown