mars.tensor.all
Test whether all array elements along a given axis evaluate to True.
mars.tensor.any
Test whether any tensor element along a given axis evaluates to True.
mars.tensor.isfinite
Test element-wise for finiteness (not infinity or not Not a Number).
mars.tensor.isinf
Test element-wise for positive or negative infinity.
mars.tensor.isnan
Test element-wise for NaN and return result as a boolean tensor.
mars.tensor.iscomplex
Returns a bool tensor, where True if input element is complex.
mars.tensor.isreal
Returns a bool tensor, where True if input element is real.
mars.tensor.logical_and
Compute the truth value of x1 AND x2 element-wise.
mars.tensor.logical_or
Compute the truth value of x1 OR x2 element-wise.
mars.tensor.logical_not
Compute the truth value of NOT x element-wise.
mars.tensor.logical_xor
Compute the truth value of x1 XOR x2, element-wise.
mars.tensor.allclose
Returns True if two tensors are element-wise equal within a tolerance.
mars.tensor.isclose
Returns a boolean tensor where two tensors are element-wise equal within a tolerance.
mars.tensor.array_equal
True if two tensors have the same shape and elements, False otherwise.
mars.tensor.greater
Return the truth value of (x1 > x2) element-wise.
mars.tensor.greater_equal
Return the truth value of (x1 >= x2) element-wise.
mars.tensor.less
Return the truth value of (x1 < x2) element-wise.
mars.tensor.less_equal
Return the truth value of (x1 =< x2) element-wise.
mars.tensor.equal
Return (x1 == x2) element-wise.
mars.tensor.not_equal
Return (x1 != x2) element-wise.