code: def get_init_args(
      frame: types.FrameType,
  ) -> Dict[str, Any]:  # pragma: no-cover
      """For backwards compatibility: #16369."""
      _, local_args = _get_init_args(frame)
      return local_args
  
imports: import copy
  import inspect
  import pickle
  import types
  from dataclasses import fields, is_dataclass
  from typing import Any, Dict, List, Literal, MutableMapping, Optional, Sequence, Tuple, Type, Union
  from torch import nn
  import lightning.pytorch
  from lightning.fabric.utilities.data import AttributeDict
  from lightning.pytorch.utilities.rank_zero import rank_zero_warn
label_desc: Use image node_id 4 for calling a global function with example usage: get_init_args(frame) and returns: local_args