[codemod][type-comments] Convert type comments in _lobpcg.py (#73088)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73088
I'm wrapping up the conversion of type comments to type annotations
in caffe2. The last remaining "bulk" codemod has test failures that
are hard for me to understand, so I'm going to submit PRs for each
module individually which makes it easier to see what's causing
problems.
All the codemods were produced via LibCST and then manually cleaned up.
Test Plan: Wait for github CI
Reviewed By: shannonzhu
Differential Revision: D34344252
fbshipit-source-id: d6c4241a5f5ab618e4b996066b2159eec8a10168
(cherry picked from commit da769339d2545e0c3a4d93c55b135bbb739b6bce)