Missed TensorFlow World? Check out the recap. Learn more

Module: tf.compat.v1.sets

TensorFlow 1 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.

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

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

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

set_union(...): Compute set union 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.