Unify TensorOptions signatures (#39611)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39611
A few ops have been taking non-optional ScalarType, Device and Layout. That isn't supported by the hacky wrapper that makes those
kernels work with the c10 operator library. This PR unifies the signatures and makes those ops c10-full.
ghstack-source-id: 107330186
Test Plan: waitforsandcastle
Differential Revision: D21915788
fbshipit-source-id: 39f0e114f2766a3b27b80f93f2c1a95fa23c78d4