Home
last modified time | relevance | path

Searched refs:vocabulary_list (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py362 key, vocabulary_list, dtype=None, default_value=-1, num_oov_buckets=0):
416 vocabulary_list=vocabulary_list,
Dfeature_column.py1262 vocabulary_list,
1341 if (vocabulary_list is None) or (len(vocabulary_list) < 1):
1344 vocabulary_list, key))
1345 if len(set(vocabulary_list)) != len(vocabulary_list):
1348 vocabulary_list, key))
1349 vocabulary_dtype = dtypes.as_dtype(np.array(vocabulary_list).dtype)
1370 key=key, vocabulary_list=tuple(vocabulary_list), dtype=dtype,
2787 vocabulary_list=tuple(self.vocabulary_list),
2796 return len(self.vocabulary_list) + self.num_oov_buckets
Dfeature_column_test.py1895 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
1931 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
1933 'country', vocabulary_list=['US', 'JP', 'CA'])
2532 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
2574 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
2576 'country', vocabulary_list=['US', 'JP', 'CA'])
3152 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
3157 'country', vocabulary_list=['US', 'JP', 'CA'])
3203 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
3208 'country', vocabulary_list=['US', 'JP', 'CA'])
[all …]
Dfeature_column_v2_test.py2136 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
2175 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
2215 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
2217 'country', vocabulary_list=['US', 'JP', 'CA'])
2898 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
2939 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
2941 'country', vocabulary_list=['US', 'JP', 'CA'])
3629 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
3676 'body-style', vocabulary_list=['hardtop', 'wagon', 'sedan'])
3681 'country', vocabulary_list=['US', 'JP', 'CA'])
[all …]
Dfeature_column_v2.py1695 vocabulary_list,
1774 if (vocabulary_list is None) or (len(vocabulary_list) < 1):
1777 vocabulary_list, key))
1778 if len(set(vocabulary_list)) != len(vocabulary_list):
1781 vocabulary_list, key))
1782 vocabulary_dtype = dtypes.as_dtype(np.array(vocabulary_list).dtype)
1804 vocabulary_list=tuple(vocabulary_list),
3679 vocabulary_list=tuple(self.vocabulary_list),
3700 return len(self.vocabulary_list) + self.num_oov_buckets
Dsequence_feature_column_test.py903 vocabulary_list=('omar', 'stringer', 'marlo'))
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/
Dsequence_feature_column.py334 key, vocabulary_list, dtype=None, default_value=-1, num_oov_buckets=0):
386 vocabulary_list=vocabulary_list,
Dsequence_feature_column_test.py853 vocabulary_list=('omar', 'stringer', 'marlo'))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.feature_column.pbtxt21 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
57 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
/external/tensorflow/tensorflow/python/ops/
Dlookup_ops.py1274 def index_table_from_tensor(vocabulary_list, argument
1331 if vocabulary_list is None:
1342 keys = ops.convert_to_tensor(vocabulary_list)
1461 def index_to_string_table_from_tensor(vocabulary_list, argument
1508 if vocabulary_list is None:
1512 vocabulary_list = ops.convert_to_tensor(vocabulary_list, dtypes.string)
1513 num_elements = array_ops.size(vocabulary_list)
1517 keys, vocabulary_list, dtypes.int64, dtypes.string, name="table_init")
/external/tensorflow/tensorflow/contrib/lookup/
Dlookup_ops.py132 vocabulary_list=mapping,
239 vocabulary_list=mapping, default_value=default_value, name=name)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.feature_column.pbtxt21 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
65 …argspec: "args=[\'key\', \'vocabulary_list\', \'dtype\', \'default_value\', \'num_oov_buckets\'], …
/external/tensorflow/tensorflow/examples/get_started/regression/
Dlinear_regression_categorical.py65 key="body-style", vocabulary_list=body_style_vocab)
Ddnn_regression.py62 key="body-style", vocabulary_list=body_style_vocab)
Dcustom_regression.py117 key="body-style", vocabulary_list=body_style_vocab)
/external/tensorflow/tensorflow/python/kernel_tests/
Dlookup_ops_test.py1901 vocabulary_list=("brain", "salad", "surgery"), num_oov_buckets=1)
1910 vocabulary_list=("brain", "salad", "surgery"), num_oov_buckets=1)
1918 vocabulary_list=(42, 1, -1000), num_oov_buckets=1, dtype=dtypes.int32)
1931 vocabulary_list=(42, 1, -1000), num_oov_buckets=1, dtype=dtypes.int64)
1945 vocabulary_list=["brain", "salad", "surgery"],
1960 vocabulary_list=None, num_oov_buckets=1)
1967 vocabulary_list=np.array([], dtype=np.str_), num_oov_buckets=1)
1974 vocabulary_list=["brain", "salad", "surgery"],
1979 vocabulary_list=["brain", "salad", "surgery"],
2104 vocabulary_list = constant_op.constant(["brain", "salad", "surgery"])
[all …]
/external/tensorflow/tensorflow/contrib/timeseries/examples/
Dknown_anomaly.py90 key="is_changepoint", vocabulary_list=["no", "yes"])
/external/tensorflow/tensorflow/python/training/
Dwarm_starting_util_test.py759 "sc_keys", vocabulary_list=["a", "b", "c", "e"])
852 "sc_keys", vocabulary_list=["a", "b", "c", "e"])
920 "sc_keys", vocabulary_list=["a", "b", "c", "e"])
979 "sc_keys", vocabulary_list=["a", "b", "c", "e"])
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Destimator_test.py624 key="word", vocabulary_list=["the", "cat", "dog"]),