|View source on GitHub|
The key and value content to get from each line.
Compat aliases for migration
See Migration guide for more details.
This class defines the key and value used for tf.lookup.TextFileInitializer.
The key and value content to get from each line is specified either by the following, or a value
TextFileIndex.LINE_NUMBERmeans use the line number starting from zero, expects data type int64.
TextFileIndex.WHOLE_LINEmeans use the whole line content, expects data type string.
>=0 means use the index (starting at zero) of the split line based on
LINE_NUMBER = -1
WHOLE_LINE = -2
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.