aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-11-01 15:58:53 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-01 17:04:05 -0700
commit0b142e0dfbab63d61559ce0a347261b179c19beb (patch)
treeda27a635b5c7b78b34b601c5efae4a9054124258
parenta95f95a60b20fb48fbfcae8da4afaa9412582746 (diff)
Update generated Python Op docs.
Change: 137889948
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard1/tf.sparse_minimum.md4
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.SparseTensor.md11
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard5/tf.sparse_maximum.md4
-rw-r--r--tensorflow/g3doc/api_docs/python/sparse_ops.md19
4 files changed, 30 insertions, 8 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
index 4419f736b9..1455e3e533 100644
--- 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
@@ -6,8 +6,8 @@ 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])
+sp_zero = sparse_tensor.SparseTensor([[0]], [0], [7])
+sp_one = sparse_tensor.SparseTensor([[1]], [1], [7])
res = tf.sparse_minimum(sp_zero, sp_one).eval()
# "res" should be equal to SparseTensor([[0], [1]], [0, 0], [7]).
```
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.SparseTensor.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.SparseTensor.md
index 4bead96bc9..d89b4e70c4 100644
--- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.SparseTensor.md
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.SparseTensor.md
@@ -75,6 +75,17 @@ Creates a `SparseTensor`.
- - -
+#### `tf.SparseTensor.get_shape()` {#SparseTensor.get_shape}
+
+Get the `TensorShape` that represents the shape of the dense tensor.
+
+##### Returns:
+
+ A `TensorShape` object.
+
+
+- - -
+
#### `tf.SparseTensor.indices` {#SparseTensor.indices}
The indices of non-zero values in the represented dense tensor.
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
index b934c3b1cd..2f2759f2c6 100644
--- 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
@@ -6,8 +6,8 @@ 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])
+sp_zero = sparse_tensor.SparseTensor([[0]], [0], [7])
+sp_one = sparse_tensor.SparseTensor([[1]], [1], [7])
res = tf.sparse_maximum(sp_zero, sp_one).eval()
# "res" should be equal to SparseTensor([[0], [1]], [0, 1], [7]).
```
diff --git a/tensorflow/g3doc/api_docs/python/sparse_ops.md b/tensorflow/g3doc/api_docs/python/sparse_ops.md
index f3f241672d..51968de26f 100644
--- a/tensorflow/g3doc/api_docs/python/sparse_ops.md
+++ b/tensorflow/g3doc/api_docs/python/sparse_ops.md
@@ -95,6 +95,17 @@ Creates a `SparseTensor`.
- - -
+#### `tf.SparseTensor.get_shape()` {#SparseTensor.get_shape}
+
+Get the `TensorShape` that represents the shape of the dense tensor.
+
+##### Returns:
+
+ A `TensorShape` object.
+
+
+- - -
+
#### `tf.SparseTensor.indices` {#SparseTensor.indices}
The indices of non-zero values in the represented dense tensor.
@@ -1368,8 +1379,8 @@ 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])
+sp_zero = sparse_tensor.SparseTensor([[0]], [0], [7])
+sp_one = sparse_tensor.SparseTensor([[1]], [1], [7])
res = tf.sparse_maximum(sp_zero, sp_one).eval()
# "res" should be equal to SparseTensor([[0], [1]], [0, 1], [7]).
```
@@ -1399,8 +1410,8 @@ 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])
+sp_zero = sparse_tensor.SparseTensor([[0]], [0], [7])
+sp_one = sparse_tensor.SparseTensor([[1]], [1], [7])
res = tf.sparse_minimum(sp_zero, sp_one).eval()
# "res" should be equal to SparseTensor([[0], [1]], [0, 0], [7]).
```