You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overload unary - operator on at::vec::Vectorized to call neg() (pytorch#150568)
Makes Vectorized look even more like a scalar type, getting me closer to being able to use the same generic code with scalars and Vectorized (e.g., for sigmoid, which needs `exp(-x)`).
Pull Request resolved: pytorch#150568
Approved by: https://github.com/Skylion007
ghstack dependencies: pytorch#150380
0 commit comments