Add type annotations to _tensorboard_vis.py and hipify_python.py (#49834)
Summary:
closes gh-49833
Pull Request resolved: https://github.com/pytorch/pytorch/pull/49834
Reviewed By: mruberry
Differential Revision: D25725341
Pulled By: malfet
fbshipit-source-id: 7454c7afe07a3ff829826afe02aba05b7f649d9b