W3cubDocs

/TensorFlow Python

tf.contrib.lookup.StrongHashSpec

class tf.contrib.lookup.StrongHashSpec

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

Class Members

__init__

count

index

Defined in tensorflow/contrib/lookup/lookup_ops.py.

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