code: def main() -> None:
      global p
      args = parser.parse_args()
      if args.install_dir is None:
          p = Path(__file__).parent / "generated"
          p.mkdir(exist_ok=True)
      else:
          p = Path(args.install_dir)
  
      simple = Simple(10, 20)
      post_process(simple)
  
      nested = Nested(10, 20)
      post_process(nested)
  
      save("simple", simple, (torch.rand(10, 20),))
      save("nested", nested, (torch.rand(10, 20),))
  
imports: import argparse
  from pathlib import Path
  from typing import Optional, Tuple
  import torch
  from torch.package import PackageExporter
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types