Searched refs:hasher_spec (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/ops/ |
D | lookup_ops.py | 981 hasher_spec=FastHashSpec, argument 1031 if not isinstance(hasher_spec, HasherSpec): 1033 hasher_spec) 1034 self._hasher_spec = hasher_spec 1083 def _get_string_to_hash_bucket_fn(self, hasher_spec): argument 1085 if not isinstance(hasher_spec, HasherSpec): 1086 raise TypeError("hasher_spec must be of type HasherSpec %s" % hasher_spec) 1087 if hasher_spec.hasher == "fasthash": 1089 if hasher_spec.hasher == "legacy": 1091 if hasher_spec.hasher == "stronghash": [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | lookup_ops_test.py | 2340 hasher_spec=1) 2346 hasher_spec=lookup_ops.HasherSpec("my-awesome-hash", None)) 2436 hasher_spec=1) 2441 hasher_spec=lookup_ops.HasherSpec("my-awesome-hash", None)) 2722 hasher_spec=lookup_ops.FastHashSpec, 2728 hasher_spec=lookup_ops.StrongHashSpec((1, 2)), 2983 lookup_table, oov_buckets, hasher_spec=1) 2988 hasher_spec=lookup_ops.HasherSpec("my-awesome-hash", None)) 2997 lookup_table, oov_buckets, hasher_spec=lookup_ops.StrongHashSpec([])) 3003 hasher_spec=lookup_ops.StrongHashSpec([1, 2, 3])) [all …]
|