csarofeen / pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration
http://pytorch.org
Other
26 stars 7 forks source link

Implement comparison chain rule #2542

Closed zasdfgbnm closed 1 year ago

zasdfgbnm commented 1 year ago

This PR is stacked on https://github.com/csarofeen/pytorch/pull/2541

This PR implements the chain rule of comparison:

x < b & b <= y --> x < y
x <= b & b < y --> x < y
x < b & b <= y --> x <= y
x <= b & b <= y --> x <= y
zasdfgbnm commented 1 year ago

superseded by https://github.com/NVIDIA/Fuser/pull/34