Add type hints to torch/_functorch files pt 2 (#173460)
Summary:
Add comprehensive type annotations to 2 files in torch/_functorch that were previously missing type coverage. Each file now passes pyrefly check with stricter sub-config settings (implicit-any=true).
Files updated:
aot_autograd.py
eager_transforms.py
Authored with help of Claude Code
X-link: https://github.com/pytorch/pytorch/pull/173460
Approved by: https://github.com/aorenste
Reviewed By: wdvr
Differential Revision: D91862651
fbshipit-source-id: 13483cf6d59428c84e41c9d37ba8e0ed17305e5b