code: def replace_template_name(
      files: list,
      template_name: str,
      add_hw_name: str,
      template_source: str = "_template",
  ) -> None:
      """
      Replace names in template skeleton code by new name
      """
      for f in files:
          with open(f) as read_file:
              data = read_file.read()
          for case in [underscore, camelize]:
              data = data.replace(
                  case(template_name), case(add_hw_name)
              )
          data = data.replace(template_source, underscore(add_hw_name))
          with open(f, "w") as write_file:
              write_file.write(data)
  
file_path: tvm/apps/uma/uma_cli.py
imports: import argparse
  import os
  import shutil
  import sys
  import pathlib
  from inflection import camelize, underscore
label_desc: Use image node_id 2 for calling a global function with example usage: replace_template_name(files, template_name, add_hw_name, template_source) without return types