code: def _format_snake_case_op_name(s):
      """Formats the op name to snake case."""
      s = s.replace("2D", "2d").replace("3D", "3d")
      snake_case = "".join(
          ["_" + i.lower() if i.isupper() else i for i in s]
      ).lstrip("_")
      return snake_case.replace("mat_mul", "matmul").replace(
          "bias_add", "bias"
      )
  
file_path: tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py
imports: import ast
  import re
  import string
  from typing import Sequence
  from absl import app
  from absl import flags
label_desc: Use image node_id 3 for calling a global function with example usage: _format_snake_case_op_name(s) and returns: snake_case