Corrected logical boolean expression (#32249)
Summary:
Changed bitwise & to logical && in the boolean expression.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32249
Differential Revision: D19501586
Pulled By: eellison
fbshipit-source-id: afe374cfc9661182703cc82810d9cb735fbb8180