aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/g3doc/api_docs/python/io_ops.md
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-01-06 12:08:08 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-06 12:29:01 -0800
commitffbff3b08173eda5eab72ade86d37677ba1d5a4e (patch)
tree65b9d0f3c6f9839485508d9b2d4a4f32e8b2e8b7 /tensorflow/g3doc/api_docs/python/io_ops.md
parent2b351f224df81121cdcf8131d84be0e3f43d407c (diff)
Update generated Python Op docs.
Change: 143799796
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/io_ops.md')
-rw-r--r--tensorflow/g3doc/api_docs/python/io_ops.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/tensorflow/g3doc/api_docs/python/io_ops.md b/tensorflow/g3doc/api_docs/python/io_ops.md
index a182b608cf..6e645ecd8d 100644
--- a/tensorflow/g3doc/api_docs/python/io_ops.md
+++ b/tensorflow/g3doc/api_docs/python/io_ops.md
@@ -1472,9 +1472,11 @@ Fields:
be `dtype` and its length must always match that of the `index_key`
feature.
dtype: Data type of the `value_key` feature.
- size: Each value in the `index_key` feature must be in `[0, size)`.
- already_sorted: A boolean to specify whether the values in `index_key` are
- already sorted. If so skip sorting, False by default (optional).
+ size: A Python int to specify a dimension of the dense shape. Each value in
+ the `index_key` feature must be in `[0, size)`.
+ already_sorted: A Python boolean to specify whether the values in
+ `index_key` are already sorted. If so skip sorting.
+ False by default (optional).
- - -
#### `tf.SparseFeature.__getnewargs__()` {#SparseFeature.__getnewargs__}
@@ -1702,7 +1704,8 @@ And arguments
```
example_names: ["input0", "input1"],
features: {
- "sparse": SparseFeature("ix", "val", tf.float32, 100),
+ "sparse": SparseFeature(
+ index_key="ix", value_key="val", dtype=tf.float32, size=100),
}
```