W3cubDocs

/TensorFlow 2.4

Module: tf.compat.v1.lookup

Public API for tf.lookup namespace.

Modules

experimental module: Public API for tf.lookup.experimental namespace.

Classes

class KeyValueTensorInitializer: Table initializers given keys and values tensors.

class StaticHashTable: A generic hash table that is immutable once initialized.

class StaticVocabularyTable: String to Id table that assigns out-of-vocabulary keys to hash buckets.

class TextFileIndex: The key and value content to get from each line.

class TextFileInitializer: Table initializers from a text file.

© 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/compat/v1/lookup