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.
key
: The key to be used by the keyed hashing function.hasher
Alias for field number 0
key
Alias for field number 1
__new__
@staticmethod __new__( cls, key )
Create new instance of HasherSpec(hasher, key)
© 2018 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