W3cubDocs

/TensorFlow 1.15

tf.lookup.TextFileIndex

View source on GitHub

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/r1.15/api_docs/python/tf/lookup/TextFileIndex