W3cubDocs

/TensorFlow 2.4

tf.lookup.TextFileIndex

The key and value content to get from each line.

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 >=0.

A value >=0 means use the index (starting at zero) of the split line based on delimiter.

Class Variables
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.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/lookup/TextFileIndex