W3cubDocs

/TensorFlow Python

Module: tf.sets

Module tf.sets

Tensorflow set operations.

Members

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.

Defined in tensorflow/python/ops/sets.py.

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/sets