Fix test_variant_consistency_jit_addmm for complex types (#54917)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/54917
Test Plan: Imported from OSS
Reviewed By: zou3519
Differential Revision: D27411483
Pulled By: anjali411
fbshipit-source-id: 95a2241ff326a7ab8b8d3abe0ad100074c23e47a