Enable binary ops with Scalar Lists with for foreach APIs (#45298)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45298
Test Plan: Imported from OSS
Reviewed By: ngimel
Differential Revision: D23931986
Pulled By: izdeby
fbshipit-source-id: 281267cd6f90d57a169af89f9f10b0f4fcab47e3