Searched refs:hasher_spec (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/contrib/lookup/ |
D | lookup_ops.py | 51 hasher_spec=FastHashSpec, argument 54 vocabulary_file, num_oov_buckets, vocab_size, default_value, hasher_spec, 62 hasher_spec=FastHashSpec, argument 69 mapping, num_oov_buckets, default_value, hasher_spec, name=scope) 75 hasher_spec=FastHashSpec, argument 135 hasher_spec=hasher_spec,
|
D | lookup_ops_test.py | 462 hasher_spec=1) 468 hasher_spec=lookup.HasherSpec("my-awesome-hash", None)) 573 hasher_spec=1) 578 hasher_spec=lookup.HasherSpec("my-awesome-hash", None)) 1242 hasher_spec=lookup.FastHashSpec, 1248 hasher_spec=lookup.StrongHashSpec((1, 2)), 1453 lookup_table, oov_buckets, hasher_spec=1) 1458 hasher_spec=lookup.HasherSpec("my-awesome-hash", None)) 1469 hasher_spec=lookup.StrongHashSpec([])) 1475 hasher_spec=lookup.StrongHashSpec([1, 2, 3])) [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | lookup_ops.py | 808 hasher_spec=FastHashSpec, argument 858 if not isinstance(hasher_spec, HasherSpec): 860 "hasher_spec must be of type HasherSpec, got %s" % hasher_spec) 861 self._hasher_spec = hasher_spec 910 def _get_string_to_hash_bucket_fn(self, hasher_spec): argument 912 if not isinstance(hasher_spec, HasherSpec): 913 raise TypeError("hasher_spec must be of type HasherSpec %s" % hasher_spec) 914 if hasher_spec.hasher == "fasthash": 916 if hasher_spec.hasher == "legacy": 918 if hasher_spec.hasher == "stronghash": [all …]
|
/external/tensorflow/tensorflow/examples/saved_model/integration_tests/ |
D | export_simple_text_embedding.py | 63 hasher_spec=lookup_ops.FastHashSpec)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | lookup_ops_test.py | 1870 hasher_spec=1) 1876 hasher_spec=lookup_ops.HasherSpec("my-awesome-hash", None)) 1976 hasher_spec=1) 1981 hasher_spec=lookup_ops.HasherSpec("my-awesome-hash", None)) 2288 hasher_spec=lookup_ops.FastHashSpec, 2294 hasher_spec=lookup_ops.StrongHashSpec((1, 2)), 2492 lookup_table, oov_buckets, hasher_spec=1) 2497 hasher_spec=lookup_ops.HasherSpec("my-awesome-hash", None)) 2508 hasher_spec=lookup_ops.StrongHashSpec([])) 2514 hasher_spec=lookup_ops.StrongHashSpec([1, 2, 3])) [all …]
|