Home
last modified time | relevance | path

Searched refs:hash_bucket_size (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column_test.py63 a = fc.sparse_column_with_hash_bucket("aaa", hash_bucket_size=100)
68 a = fc.sparse_column_with_hash_bucket("aaa", hash_bucket_size=100)
73 "aaa", hash_bucket_size=100, dtype=dtypes.int64)
79 "aaa", hash_bucket_size=100, dtype=dtypes.float32)
125 "aaa", hash_bucket_size=100, combiner="sum")
133 "aaa", hash_bucket_size=100, combiner="sum")
300 "b", hash_bucket_size=100, combiner="sum")
337 column_name="ids", hash_bucket_size=10, hash_keys=hash_keys)
359 column_name="ids", hash_bucket_size=100, hash_keys=[])
364 column_name="ids", hash_bucket_size=100, hash_keys=1)
[all …]
Dfeature_column_ops_test.py421 "language", hash_bucket_size=3)
423 "country", hash_bucket_size=5)
425 [language, country], hash_bucket_size=15)
453 "country", hash_bucket_size=5)
455 [country, price_bucket], hash_bucket_size=15)
477 "country", hash_bucket_size=5)
482 [country, price_bucket], hash_bucket_size=1000)
515 "country", hash_bucket_size=5)
517 [country, price_bucket], hash_bucket_size=15)
520 [wire, country_price], hash_bucket_size=15)
[all …]
Dfeature_column.py609 hash_bucket_size, argument
647 bucket_size=hash_bucket_size,
2277 hash_bucket_size, argument
2289 if hash_bucket_size < 2:
2291 "hash_bucket_size: {}".format(hash_bucket_size))
2300 hash_bucket_size, hash_key,
2320 return self.hash_bucket_size
2386 num_buckets=self.hash_bucket_size,
2430 def crossed_column(columns, hash_bucket_size, combiner="sum", argument
2471 hash_bucket_size,
/external/tensorflow/tensorflow/tools/dist_test/python/
Dcensus_widendeep.py63 "education", hash_bucket_size=1000)
65 "marital_status", hash_bucket_size=100)
67 "relationship", hash_bucket_size=100)
69 "workclass", hash_bucket_size=100)
71 "occupation", hash_bucket_size=1000)
73 "native_country", hash_bucket_size=1000)
88 hash_bucket_size=int(1e4)),
90 hash_bucket_size=int(1e4)),
92 hash_bucket_size=int(1e6))]
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
Dsdca_estimator_test.py126 'country', hash_bucket_size=5)
156 'country', hash_bucket_size=5)
187 'language', hash_bucket_size=5)
189 'country', hash_bucket_size=5)
191 [language, country], hash_bucket_size=10)
224 'country', hash_bucket_size=5)
226 [sq_footage_bucket, country], hash_bucket_size=10)
300 'country', hash_bucket_size=5)
302 [sq_footage_bucket, country], hash_bucket_size=10)
335 'country', hash_bucket_size=5)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dlinear_test.py196 'language', hash_bucket_size=20)
257 'language', hash_bucket_size=20)
484 'language', hash_bucket_size=2e7)
824 'country', hash_bucket_size=5)
855 'country', hash_bucket_size=5)
886 'language', hash_bucket_size=5)
888 'country', hash_bucket_size=5)
890 [language, country], hash_bucket_size=10)
924 'country', hash_bucket_size=5)
926 [sq_footage_bucket, country], hash_bucket_size=10)
[all …]
Ddnn_test.py266 'language', hash_bucket_size=20)
383 'language', hash_bucket_size=20)
427 'language', hash_bucket_size=20)
474 'language', hash_bucket_size=20)
582 'language', hash_bucket_size=20)
721 'language', hash_bucket_size=20)
767 'language', hash_bucket_size=20)
888 'language', hash_bucket_size=20)
937 'language', hash_bucket_size=2e7)
1118 'language', hash_bucket_size=20)
[all …]
Dsvm_test.py185 'country', hash_bucket_size=5)
243 'country', hash_bucket_size=5)
245 [sq_footage_bucket, country], hash_bucket_size=10)
Ddnn_linear_combined_test.py327 'language', hash_bucket_size=20)
413 'dummy_sparse_column', hash_bucket_size=100))
459 'dummy_sparse_column', hash_bucket_size=100))
488 'language', hash_bucket_size=2e7)
567 'language', hash_bucket_size=20)
1356 'language', hash_bucket_size=20)
1395 'language', hash_bucket_size=20)
1556 'language', hash_bucket_size=20)
1638 'language', hash_bucket_size=2e7)
1688 'language', hash_bucket_size=20)
[all …]
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column.py985 hash_bucket_size, argument
1027 if hash_bucket_size is None:
1030 if hash_bucket_size < 1:
1033 hash_bucket_size, key))
1037 return _HashedCategoricalColumn(key, hash_bucket_size, dtype)
1444 def crossed_column(keys, hash_bucket_size, hash_key=None): argument
1548 if not hash_bucket_size or hash_bucket_size < 1:
1550 'hash_bucket_size: {}'.format(hash_bucket_size))
1567 keys=tuple(keys), hash_bucket_size=hash_bucket_size,
2447 sparse_values, self.hash_bucket_size, name='lookup')
[all …]
Dfeature_column_test.py346 a = fc.categorical_column_with_hash_bucket('aaa', hash_bucket_size=10)
572 self.assertEqual(10, a.hash_bucket_size)
594 self.assertEqual(10, column.hash_bucket_size)
863 self.assertEqual(15, crossed2_copy.hash_bucket_size)
895 hash_bucket_size = 10
897 [bucketized_price, 'wire'], hash_bucket_size)
912 self.assertIn(val, list(range(hash_bucket_size)))
959 crossed = fc.crossed_column([b, 'c'], hash_bucket_size=5, hash_key=5)
989 crossed = fc.crossed_column([b, 'c'], hash_bucket_size=5, hash_key=5)
1043 crossed = fc.crossed_column([t, 'c'], hash_bucket_size=5, hash_key=5)
[all …]
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.feature_column.pbtxt9 …argspec: "args=[\'key\', \'hash_bucket_size\', \'dtype\'], varargs=None, keywords=None, defaults=[…
25 …argspec: "args=[\'keys\', \'hash_bucket_size\', \'hash_key\'], varargs=None, keywords=None, defaul…
/external/tensorflow/tensorflow/python/estimator/
Dwarm_starting_util_test.py343 "sc_hash", hash_bucket_size=15)
542 "sc_hash", hash_bucket_size=15)
549 cross = fc.crossed_column([sc_keys, sc_vocab], hash_bucket_size=20)
636 "sc_hash", hash_bucket_size=15)
705 "sc_hash", hash_bucket_size=15)
765 "sc_hash", hash_bucket_size=15)
/external/tensorflow/tensorflow/examples/get_started/regression/
Dlinear_regression_categorical.py74 key="make", hash_bucket_size=50)
Ddnn_regression.py65 key="make", hash_bucket_size=50)
Dcustom_regression.py120 key="make", hash_bucket_size=50)
/external/tensorflow/tensorflow/docs_src/tutorials/
Dwide.md180 'occupation', hash_bucket_size=1000)
231 'occupation', hash_bucket_size=1000)
290 ['education', 'occupation'], hash_bucket_size=1000)
300 [age_buckets, 'education', 'occupation'], hash_bucket_size=1000)
325 ['education', 'occupation'], hash_bucket_size=1000),
327 [age_buckets, 'education', 'occupation'], hash_bucket_size=1000),
Dwide_and_deep.md95 'occupation', hash_bucket_size=1000)
115 ['education', 'occupation'], hash_bucket_size=1000),
117 [age_buckets, 'education', 'occupation'], hash_bucket_size=1000),
Dlinear.md114 "education", hash_bucket_size=1000)
136 ["sport", "city"], hash_bucket_size=int(1e4))
/external/tensorflow/tensorflow/contrib/kernel_methods/python/
Dkernel_estimators_test.py207 'country', hash_bucket_size=5)
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
Dsaved_model_export_utils_test.py690 "sparse_column", hash_bucket_size=100)
693 "sparse_column_for_embedding", hash_bucket_size=10),
/external/tensorflow/tensorflow/docs_src/get_started/
Dfeature_columns.md287 the `hash_bucket_size` categories using the modulo operator, as in the following
408 the `crossed_column` only builds the number requested by the `hash_bucket_size`
411 `hash_bucket_size`.
/external/tensorflow/tensorflow/python/estimator/canned/
Dlinear_testing_utils.py177 'language', hash_bucket_size=x_dim),),
214 'language', hash_bucket_size=x_dim),),
1846 'occupation', hash_bucket_size=5)
/external/tensorflow/tensorflow/contrib/boosted_trees/python/training/functions/
Dgbdt_batch_test.py116 "sparse_categorical", hash_bucket_size=1000000))