Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.lookup.StrongHashSpec

View source on GitHub

Class StrongHashSpec

A structure to specify a key of the strong keyed hash spec.

Inherits From: HasherSpec

The strong hash requires a key, which is a list of 2 unsigned integer numbers. These should be non-zero; random numbers generated from random.org would be a fine choice.

Fields:

  • key: The key to be used by the keyed hashing function.

__new__

View source

@staticmethod
__new__(
    cls,
    key
)

Create new instance of HasherSpec(hasher, key)

Properties

hasher

key