Comparison Ops

Comparison Ops#

gt

Element-wise greater-than comparison, the > operator on tensors.

ge

Element-wise greater-or-equal comparison, the >= operator on tensors.

lt

Element-wise less-than comparison, the < operator on tensors.

le

Element-wise less-or-equal comparison, the <= operator on tensors.

eq

Element-wise equality comparison, the == operator on tensors.

ne

Element-wise not-equal comparison, the != operator on tensors.