aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.metrics.set_union.md
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-05-26 04:35:25 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-05-26 05:47:16 -0700
commit2767aa0aef782b7707cf28d032bb3c91b6ccf0e8 (patch)
treeff89a347bb756a37563489dea1771fd7ba88f914 /tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.metrics.set_union.md
parent910963836ae5b7976cda50e77e3bebe17edc78ea (diff)
Update generated Python Op docs.
Change: 123310315
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.metrics.set_union.md')
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.metrics.set_union.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.metrics.set_union.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.metrics.set_union.md
new file mode 100644
index 0000000000..bb378fe2a2
--- /dev/null
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard4/tf.contrib.metrics.set_union.md
@@ -0,0 +1,23 @@
+### `tf.contrib.metrics.set_union(a, b, validate_indices=True)` {#set_union}
+
+Compute set union of elements in last dimension of `a` and `b`.
+
+All but the last dimension of `a` and `b` must match.
+
+##### Args:
+
+
+* <b>`a`</b>: `Tensor` or `SparseTensor` of the same type as `b`. If sparse, indices
+ must be sorted in row-major order.
+* <b>`b`</b>: `Tensor` or `SparseTensor` of the same type as `a`. Must be
+ `SparseTensor` if `a` is `SparseTensor`. If sparse, indices must be
+ sorted in row-major order.
+* <b>`validate_indices`</b>: Whether to validate the order and range of sparse indices
+ in `a` and `b`.
+
+##### Returns:
+
+ A `SparseTensor` with the same rank as `a` and `b`, and all but the last
+ dimension the same. Elements along the last dimension contain the
+ unions.
+