pytorch
208d06ca - Port other comparison ops: `ne`, `lt`, `gt`, `le`, `ge` to structured kernels. (#60942)

Commit
3 years ago
Port other comparison ops: `ne`, `lt`, `gt`, `le`, `ge` to structured kernels. (#60942) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/60942 Tracking Issue: #55070 This PR applies the same transformation of `eq` to the other comparison ops: `ne`, `lt`, `gt`, `le`, and `ge`. Macros for crating meta and impl functions are used (since the checks they have are the same). Test Plan: Imported from OSS Reviewed By: soulitzer Differential Revision: D29509868 Pulled By: ezyang fbshipit-source-id: 6a1ed1d93d08884c9e09d3f419037533a235d68c
Author
Parents
Loading