code: def pascal_to_snake_case(name: str) -> str:
      """
      Switches from *AaBb* into *aa_bb*.
      :param name: name to convert
      :return: converted name
      """
      s1 = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", name)
      s2 = re.sub("([a-z0-9])([A-Z])", r"\1_\2", s1).lower()
      return s2 if not keyword.iskeyword(s2) else s2 + "_"
  
imports: import difflib
  import importlib
  import inspect
  import keyword
  import os
  import pathlib
  import re
  import shutil
  import sys
  import textwrap
  from typing import Any
  import jinja2
  import numpy
  from sphinx.util import logging
  import onnx
  from onnx.backend.test.case.base import _Exporter
  from onnx.defs import OpSchema
label_desc: Use image node_id 10 for calling a global function with example usage: pascal_to_snake_case(name) and returns: unknown