Fix type annotation for `torch.backends.cudnn.allow_tf32` (#72757)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/72753
Pull Request resolved: https://github.com/pytorch/pytorch/pull/72757
Reviewed By: samdow
Differential Revision: D34204436
Pulled By: ngimel
fbshipit-source-id: 3528efd7bdf72c1d9338806555ecb643ab94ffeb
(cherry picked from commit 7036c2e6e66cbcfeb6ff9042b84bbd392413b5f1)