How to compute union between two 2-D tensor

Is there any API like tf.sets.union?
or How to implement union between two 2-D tensor ?

1 Like

What’s your definition of the union between two 2-D tensors?
The two 2-D tensors represent two sets? What’s their relationship? There is no standard defintion on this “union operation”.