aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-07-01 16:36:18 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-07-01 17:47:23 -0700
commited55257ee28ca84953401b4bf65ee45cead98b91 (patch)
treef2ab1d5ad7f7ca701af144c476b6c6ec5b5f6075
parent0eeeced61ef55b7615690648e7c0cbdb998b54ea (diff)
Update generated Python Op docs.
Change: 126463785
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.sparse_minimum.md28
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard5/tf.sparse_maximum.md28
-rw-r--r--tensorflow/g3doc/api_docs/python/index.md2
-rw-r--r--tensorflow/g3doc/api_docs/python/sparse_ops.md62
4 files changed, 120 insertions, 0 deletions
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.sparse_minimum.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.sparse_minimum.md
new file mode 100644
index 0000000000..4419f736b9
--- /dev/null
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.sparse_minimum.md
@@ -0,0 +1,28 @@
+### `tf.sparse_minimum(sp_a, sp_b, name=None)` {#sparse_minimum}
+
+Returns the element-wise min of two SparseTensors.
+
+Assumes the two SparseTensors have the same shape, i.e., no broadcasting.
+Example:
+
+```python
+sp_zero = ops.SparseTensor([[0]], [0], [7])
+sp_one = ops.SparseTensor([[1]], [1], [7])
+res = tf.sparse_minimum(sp_zero, sp_one).eval()
+# "res" should be equal to SparseTensor([[0], [1]], [0, 0], [7]).
+```
+
+##### Args:
+
+
+* <b>`sp_a`</b>: a `SparseTensor` operand whose dtype is real, and indices
+ lexicographically ordered.
+* <b>`sp_b`</b>: the other `SparseTensor` operand with the same requirements (and the
+ same shape).
+* <b>`name`</b>: optional name of the operation.
+
+##### Returns:
+
+
+* <b>`output`</b>: the output SparseTensor.
+
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard5/tf.sparse_maximum.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard5/tf.sparse_maximum.md
new file mode 100644
index 0000000000..b934c3b1cd
--- /dev/null
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard5/tf.sparse_maximum.md
@@ -0,0 +1,28 @@
+### `tf.sparse_maximum(sp_a, sp_b, name=None)` {#sparse_maximum}
+
+Returns the element-wise max of two SparseTensors.
+
+Assumes the two SparseTensors have the same shape, i.e., no broadcasting.
+Example:
+
+```python
+sp_zero = ops.SparseTensor([[0]], [0], [7])
+sp_one = ops.SparseTensor([[1]], [1], [7])
+res = tf.sparse_maximum(sp_zero, sp_one).eval()
+# "res" should be equal to SparseTensor([[0], [1]], [0, 1], [7]).
+```
+
+##### Args:
+
+
+* <b>`sp_a`</b>: a `SparseTensor` operand whose dtype is real, and indices
+ lexicographically ordered.
+* <b>`sp_b`</b>: the other `SparseTensor` operand with the same requirements (and the
+ same shape).
+* <b>`name`</b>: optional name of the operation.
+
+##### Returns:
+
+
+* <b>`output`</b>: the output SparseTensor.
+
diff --git a/tensorflow/g3doc/api_docs/python/index.md b/tensorflow/g3doc/api_docs/python/index.md
index b2ac90e7e4..27432ab6dd 100644
--- a/tensorflow/g3doc/api_docs/python/index.md
+++ b/tensorflow/g3doc/api_docs/python/index.md
@@ -367,7 +367,9 @@
* [`sparse_add`](../../api_docs/python/sparse_ops.md#sparse_add)
* [`sparse_concat`](../../api_docs/python/sparse_ops.md#sparse_concat)
* [`sparse_fill_empty_rows`](../../api_docs/python/sparse_ops.md#sparse_fill_empty_rows)
+ * [`sparse_maximum`](../../api_docs/python/sparse_ops.md#sparse_maximum)
* [`sparse_merge`](../../api_docs/python/sparse_ops.md#sparse_merge)
+ * [`sparse_minimum`](../../api_docs/python/sparse_ops.md#sparse_minimum)
* [`sparse_reduce_sum`](../../api_docs/python/sparse_ops.md#sparse_reduce_sum)
* [`sparse_reorder`](../../api_docs/python/sparse_ops.md#sparse_reorder)
* [`sparse_reset_shape`](../../api_docs/python/sparse_ops.md#sparse_reset_shape)
diff --git a/tensorflow/g3doc/api_docs/python/sparse_ops.md b/tensorflow/g3doc/api_docs/python/sparse_ops.md
index 6781eadef4..1665420b5b 100644
--- a/tensorflow/g3doc/api_docs/python/sparse_ops.md
+++ b/tensorflow/g3doc/api_docs/python/sparse_ops.md
@@ -1155,3 +1155,65 @@ B dense [k, n]
return A*B
+- - -
+
+### `tf.sparse_maximum(sp_a, sp_b, name=None)` {#sparse_maximum}
+
+Returns the element-wise max of two SparseTensors.
+
+Assumes the two SparseTensors have the same shape, i.e., no broadcasting.
+Example:
+
+```python
+sp_zero = ops.SparseTensor([[0]], [0], [7])
+sp_one = ops.SparseTensor([[1]], [1], [7])
+res = tf.sparse_maximum(sp_zero, sp_one).eval()
+# "res" should be equal to SparseTensor([[0], [1]], [0, 1], [7]).
+```
+
+##### Args:
+
+
+* <b>`sp_a`</b>: a `SparseTensor` operand whose dtype is real, and indices
+ lexicographically ordered.
+* <b>`sp_b`</b>: the other `SparseTensor` operand with the same requirements (and the
+ same shape).
+* <b>`name`</b>: optional name of the operation.
+
+##### Returns:
+
+
+* <b>`output`</b>: the output SparseTensor.
+
+
+- - -
+
+### `tf.sparse_minimum(sp_a, sp_b, name=None)` {#sparse_minimum}
+
+Returns the element-wise min of two SparseTensors.
+
+Assumes the two SparseTensors have the same shape, i.e., no broadcasting.
+Example:
+
+```python
+sp_zero = ops.SparseTensor([[0]], [0], [7])
+sp_one = ops.SparseTensor([[1]], [1], [7])
+res = tf.sparse_minimum(sp_zero, sp_one).eval()
+# "res" should be equal to SparseTensor([[0], [1]], [0, 0], [7]).
+```
+
+##### Args:
+
+
+* <b>`sp_a`</b>: a `SparseTensor` operand whose dtype is real, and indices
+ lexicographically ordered.
+* <b>`sp_b`</b>: the other `SparseTensor` operand with the same requirements (and the
+ same shape).
+* <b>`name`</b>: optional name of the operation.
+
+##### Returns:
+
+
+* <b>`output`</b>: the output SparseTensor.
+
+