Home
last modified time | relevance | path

Searched refs:num_oov_buckets (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/lookup/
Dlookup_ops.py48 num_oov_buckets=0, argument
54 vocabulary_file, num_oov_buckets, vocab_size, default_value, hasher_spec,
60 num_oov_buckets=0, argument
69 mapping, num_oov_buckets, default_value, hasher_spec, name=scope)
73 num_oov_buckets=0, argument
133 num_oov_buckets=num_oov_buckets,
Dlookup_ops_test.py308 vocabulary_file=vocabulary_file, num_oov_buckets=1)
320 vocabulary_file=vocabulary_file, num_oov_buckets=1)
334 vocabulary_file=vocabulary_placeholder, num_oov_buckets=1)
350 vocabulary_file=vocabulary_file, num_oov_buckets=1,
364 vocabulary_file=vocabulary_file, num_oov_buckets=1,
389 vocabulary_file=vocabulary_file, num_oov_buckets=1000)
461 num_oov_buckets=1,
467 num_oov_buckets=1,
505 mapping=("brain", "salad", "surgery"), num_oov_buckets=1)
514 mapping=("brain", "salad", "surgery"), num_oov_buckets=1)
[all …]
/external/tensorflow/tensorflow/core/kernels/lookup_tables/
Dfingerprint64_map_op_kernels.cc38 Fingerprint64Map(int64 num_oov_buckets, int64 offset) in Fingerprint64Map() argument
39 : num_oov_buckets_(num_oov_buckets), offset_(offset) {} in Fingerprint64Map()
84 int64 num_oov_buckets; in AllocateContainer() local
87 GetNodeAttr(kernel->def(), "num_oov_buckets", &num_oov_buckets)); in AllocateContainer()
89 *container = new Fingerprint64Map(num_oov_buckets, offset); in AllocateContainer()
Dflat_hash_map_op_kernels.cc55 StaticStringFlatHashMap(bool enable_synchronization, int64 num_oov_buckets) in StaticStringFlatHashMap() argument
56 : num_oov_buckets_(num_oov_buckets) { in StaticStringFlatHashMap()
192 const int64 num_oov_buckets = ctx->input(1).scalar<int64>()(); in AllocateContainer() local
193 if (ABSL_PREDICT_FALSE(num_oov_buckets <= 0)) { in AllocateContainer()
195 "num_oov_buckets must be positive. Found: ", num_oov_buckets); in AllocateContainer()
198 new StaticStringFlatHashMap(enable_synchronization, num_oov_buckets); in AllocateContainer()
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py297 key, vocabulary_file, vocabulary_size=None, num_oov_buckets=0, argument
355 num_oov_buckets=num_oov_buckets,
362 key, vocabulary_list, dtype=None, default_value=-1, num_oov_buckets=0): argument
419 num_oov_buckets=num_oov_buckets))
Dfeature_column.py1145 num_oov_buckets=0, argument
1242 if num_oov_buckets:
1247 if num_oov_buckets < 0:
1249 num_oov_buckets, key))
1256 num_oov_buckets=0 if num_oov_buckets is None else num_oov_buckets,
1265 num_oov_buckets=0): argument
1350 if num_oov_buckets:
1355 if num_oov_buckets < 0:
1357 num_oov_buckets, key))
1371 default_value=default_value, num_oov_buckets=num_oov_buckets)
[all …]
Dfeature_column_v2.py1486 num_oov_buckets=0, argument
1570 num_oov_buckets)
1579 num_oov_buckets=0): argument
1674 if num_oov_buckets:
1679 if num_oov_buckets < 0:
1681 num_oov_buckets, key))
1688 num_oov_buckets=0 if num_oov_buckets is None else num_oov_buckets,
1698 num_oov_buckets=0): argument
1783 if num_oov_buckets:
1788 if num_oov_buckets < 0:
[all …]
Dfeature_column_test.py3401 num_oov_buckets=4,
3414 num_oov_buckets=4,
3479 num_oov_buckets=-1)
3496 num_oov_buckets=100,
3673 num_oov_buckets=100)
3765 num_oov_buckets=100)
3787 num_oov_buckets=1)
3814 num_oov_buckets=1)
3936 key='aaa', vocabulary_list=(12, 24, 36), num_oov_buckets=-1)
3944 num_oov_buckets=100,
[all …]
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/
Dsequence_feature_column.py272 key, vocabulary_file, vocabulary_size=None, num_oov_buckets=0, argument
328 num_oov_buckets=num_oov_buckets,
334 key, vocabulary_list, dtype=None, default_value=-1, num_oov_buckets=0): argument
389 num_oov_buckets=num_oov_buckets))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.feature_column.pbtxt17 …abulary_file\', \'vocabulary_size\', \'dtype\', \'default_value\', \'num_oov_buckets\'], varargs=N…
21 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
53 …argspec: "args=[\'key\', \'vocabulary_file\', \'vocabulary_size\', \'num_oov_buckets\', \'default_…
57 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
Dtensorflow.estimator.-vocab-info.pbtxt23 name: "num_oov_buckets"
Dtensorflow.lookup.-static-vocabulary-table.pbtxt26 …argspec: "args=[\'self\', \'initializer\', \'num_oov_buckets\', \'lookup_key_dtype\', \'name\'], v…
/external/tensorflow/tensorflow/python/ops/
Dlookup_ops.py807 num_oov_buckets, argument
848 if num_oov_buckets <= 0:
856 self._num_oov_buckets = num_oov_buckets
1013 num_oov_buckets, argument
1034 if num_oov_buckets <= 0:
1065 self._num_oov_buckets = num_oov_buckets
1156 num_oov_buckets=0, argument
1239 if num_oov_buckets < 0:
1241 % num_oov_buckets)
1264 if num_oov_buckets:
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.feature_column.pbtxt17 …argspec: "args=[\'key\', \'vocabulary_file\', \'vocabulary_size\', \'num_oov_buckets\', \'default_…
21 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
61 …argspec: "args=[\'key\', \'vocabulary_file\', \'vocabulary_size\', \'num_oov_buckets\', \'default_…
65 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
Dtensorflow.estimator.-vocab-info.pbtxt23 name: "num_oov_buckets"
Dtensorflow.train.-vocab-info.pbtxt23 name: "num_oov_buckets"
Dtensorflow.lookup.-static-vocabulary-table.pbtxt31 …argspec: "args=[\'self\', \'initializer\', \'num_oov_buckets\', \'lookup_key_dtype\', \'name\'], v…
/external/tensorflow/tensorflow/python/training/
Dwarm_starting_util_test.py702 num_oov_buckets=sc_vocab.num_oov_buckets,
822 num_oov_buckets=sc_vocab.num_oov_buckets,
883 num_oov_buckets=sc_vocab.num_oov_buckets,
946 num_oov_buckets=sc_vocab.num_oov_buckets,
1009 num_oov_buckets=sc_vocab.num_oov_buckets,
1082 num_oov_buckets=sc_vocab.num_oov_buckets,
1154 num_oov_buckets=sc_vocab.num_oov_buckets,
Dwarm_starting_util.py107 num_oov_buckets, argument
120 num_oov_buckets,
447 vocab_info.num_oov_buckets,
457 current_oov_buckets=vocab_info.num_oov_buckets,
Dcheckpoint_ops.py426 num_oov_buckets=0, argument
483 num_row_oov_buckets=num_oov_buckets,
Dcheckpoint_ops_test.py278 num_oov_buckets=1,
323 num_oov_buckets=5,
362 num_oov_buckets=1,
/external/tensorflow/tensorflow/python/kernel_tests/
Dlookup_ops_test.py930 table = self.getVocabularyTable()(None, num_oov_buckets=1)
1642 vocabulary_file=vocabulary_file, num_oov_buckets=1)
1657 num_oov_buckets=1,
1674 num_oov_buckets=1,
1691 vocabulary_file=vocabulary_file, num_oov_buckets=1)
1709 vocabulary_file=vocabulary_placeholder, num_oov_buckets=1)
1727 num_oov_buckets=1,
1744 num_oov_buckets=1,
1773 vocabulary_file=vocabulary_file, num_oov_buckets=1000)
1869 num_oov_buckets=1,
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column.py403 return self.lookup_config.vocab_size + self.lookup_config.num_oov_buckets
713 num_oov_buckets=self.lookup_config.num_oov_buckets,
722 num_oov_buckets=0, argument
766 num_oov_buckets=num_oov_buckets,
2698 num_oov_buckets=0, argument
2703 num_oov_buckets,
Dfeature_column_test.py130 "ids", "a_file", num_oov_buckets=7, vocab_size=3)
135 self.assertEqual(weighted_ids.lookup_config.num_oov_buckets, 7)
846 num_oov_buckets=0,
/external/tensorflow/tensorflow/examples/saved_model/integration_tests/
Dexport_simple_text_embedding.py62 num_oov_buckets=self._oov_buckets,

12