Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tf.compat.v2.sets

TensorFlow 2.0 version

Tensorflow set operations.

Functions

difference(...): Compute set difference of elements in last dimension of a and b.

intersection(...): Compute set intersection of elements in last dimension of a and b.

size(...): Compute number of unique elements along last dimension of a.

union(...): Compute set union of elements in last dimension of a and b.