TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.lookup.HasherSpec

View source on GitHub

Class HasherSpec

A structure for the spec of the hashing function to use for hash buckets.

hasher is the name of the hashing function to use (eg. "fasthash", "stronghash"). key is optional and specify the key to use for the hash function if supported, currently only used by a strong hash.

Fields:

  • hasher: The hasher name to use.
  • key: The key to be used by the hashing function, if required.

Properties

hasher

key