/TensorFlow 2.4

Module: tf.lookup

Public API for tf.lookup namespace.


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


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.