Comparison & Logical#
equal#
def equal(x: 'Tensor', y: 'Tensor | float | int') -> 'Tensor':
not_equal#
def not_equal(x: 'Tensor', y: 'Tensor | float | int') -> 'Tensor':
greater#
def greater(x: 'Tensor', y: 'Tensor | float | int') -> 'Tensor':
greater_equal#
def greater_equal(x: 'Tensor', y: 'Tensor | float | int') -> 'Tensor':
less#
def less(x: 'Tensor', y: 'Tensor | float | int') -> 'Tensor':
less_equal#
def less_equal(x: 'Tensor', y: 'Tensor | float | int') -> 'Tensor':
logical_and#
def logical_and(x: 'Tensor', y: 'Tensor') -> 'Tensor':
logical_or#
def logical_or(x: 'Tensor', y: 'Tensor') -> 'Tensor':
logical_xor#
def logical_xor(x: 'Tensor', y: 'Tensor') -> 'Tensor':
logical_not#
def logical_not(x: 'Tensor') -> 'Tensor':