Set routines

Boolean operations

mars.tensor.in1d

Test whether each element of a 1-D tensor is also present in a second tensor.

mars.tensor.isin

Calculates element in test_elements, broadcasting over element only.

mars.tensor.union1d

Find the union of two tensors.