tf.contrib.lookup.StrongHashSpec

Class StrongHashSpec

Inherits From: HasherSpec

Defined in tensorflow/python/ops/lookup_ops.py.

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

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.

Properties

hasher

Alias for field number 0

key

Alias for field number 1

Methods

__new__

@staticmethod
__new__(
    cls,
    key
)