aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/example
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-01-06 12:35:32 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-06 12:47:05 -0800
commita245f73c7d9dea4aeb5c524e290f05ef6d5efdab (patch)
treea53d87cf097aaddb50f68e4f21c135ecccaa1a32 /tensorflow/core/example
parent053087ff366bed02eeec858ddd856ce4a78bbfa9 (diff)
Allow empty tf.Features in the FeatureLists for sparse sequence examples.
Change: 143802382
Diffstat (limited to 'tensorflow/core/example')
-rw-r--r--tensorflow/core/example/example.proto3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/core/example/example.proto b/tensorflow/core/example/example.proto
index 956a374026..b2b723278b 100644
--- a/tensorflow/core/example/example.proto
+++ b/tensorflow/core/example/example.proto
@@ -193,7 +193,8 @@ message Example {
// - If a FeatureList L exists, it may be empty (zero length).
// - If a FeatureList L is non-empty, all features within the FeatureList
// must have the same data type T. Even across SequenceExamples, the type T
-// of the FeatureList identified by the same key must be the same.
+// of the FeatureList identified by the same key must be the same. An entry
+// without any values may serve as an empty feature.
// - If a FeatureList L is non-empty, it is up to the parser configuration
// to determine if all features within the FeatureList must
// have the same size. The same holds for this FeatureList across multiple