Make test_leaky_relu_inplace_with_neg_slope device-generic and skipIfRocm. (#35816)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35816
Fixes https://github.com/pytorch/pytorch/issues/35689.
Test Plan: Imported from OSS
Differential Revision: D20796656
Pulled By: gchanan
fbshipit-source-id: 474790fe07899d9944644f6b3d7a15db1c2b96db