Migrate `addr` from the TH to Aten (CPU) (#44364)
Summary:
Related https://github.com/pytorch/pytorch/issues/24507
Fixes https://github.com/pytorch/pytorch/issues/24666
This PR is to modernize the CPU implementation of the vector `outer product`.
The existing TH implementation for `torch.attr` is migrated to `aten`, as the `torch.ger` manipulates the `addr` functions to calculate outer product,
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44364
Reviewed By: ezyang
Differential Revision: D23866733
Pulled By: mruberry
fbshipit-source-id: 5159ea22f0e3c991123fe7c19cc9beb6ad00301e