class_docstr: Base optimizer class from which all other optimizer types are derived.
class_docstr_tok: ["Base","optimizer","class","from","which","all","other","optimizer","types","are","derived","."]
code: def get_name(cls):
      if cls.name is None:
          return convert_to_snake_case(
              cls.__name__
          )  # OptimizerPass -> optimizer_pass
      else:
          return cls.name
  
imports: import importlib
  import inspect
  import os
  from hls4ml.utils.string_utils import convert_to_snake_case
label_desc: Use image node_id 4 for calling the OptimizerPass obj's underlying member method code with example usage: obj.get_name(cls) and returns: convert_to_snake_case, cls