code: def generate_proxy_api_files(
      output_files: list[str], proxy_module_root: str, output_dir: str
  ):
      """Creates __init__.py files in proxy format for the Python API.
  
      Args:
        output_files: List of __init__.py file paths to create.
        proxy_module_root: Module root for proxy-import format. If specified, proxy
          files with content like `from proxy_module_root.proxy_module import *`
          will be created to enable import resolution under TensorFlow.
        output_dir: output API root directory.
      """
      for file in output_files:
          file_dir = os.path.dirname(file)
          if not os.path.isdir(file_dir):
              os.makedirs(file_dir)
          module = get_module(file_dir, output_dir)
          content = f"from {proxy_module_root}.{module} import *"
          with open(file, "w") as f:
              f.write(content)
  
imports: import collections
  from collections.abc import Mapping, Sequence, Set
  import dataclasses
  import os
  from typing import Optional
  from absl import app
  from absl import flags
  from tensorflow.python.tools.api.generator2.shared import exported_api
label_desc: Use image node_id 3 for calling a global function with example usage: generate_proxy_api_files(output_files, proxy_module_root, output_dir) without return types