tf.contrib.lookup.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.
Attributes
hasher
key

© 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/r1.15/api_docs/python/tf/contrib/lookup/StrongHashSpec