/external/tensorflow/tensorflow/contrib/estimator/python/estimator/ |
head.py | 44 label_vocabulary=None, 56 `[D0, D1, ... DN, 1]`. If `label_vocabulary` given, `labels` must be a string 57 `Tensor` with values from the vocabulary. If `label_vocabulary` is not given, 70 shape `[D0, D1, ... DN, 1]`. Namely, the head applies `label_vocabulary` to 80 label_vocabulary: A list or tuple of strings representing possible label 83 have any value in `label_vocabulary`. Note that errors will be raised if 84 `label_vocabulary` is not provided but labels are strings. 95 ValueError: if `n_classes`, `label_vocabulary` or `loss_reduction` is 101 label_vocabulary=label_vocabulary, [all...] |
head_test.py | 126 r'label_vocabulary must be a list or tuple\. ' 128 head_lib.multi_label_head(n_classes=2, label_vocabulary={'foo': 'bar'}) 133 r'Length of label_vocabulary must be n_classes \(3\). Given: 2'): 134 head_lib.multi_label_head(n_classes=3, label_vocabulary=['foo', 'bar']) 221 n_classes, label_vocabulary=['foo', 'bar', 'foobar', 'barfoo']) 525 n_classes, label_vocabulary=['class0', 'class1']) [all...] |
/external/tensorflow/tensorflow/python/estimator/canned/ |
baseline.py | 224 label_vocabulary=None, 241 label_vocabulary: Optional list of strings with size `[n_classes]` 258 label_vocabulary=label_vocabulary, 263 label_vocabulary=label_vocabulary,
|
linear.py | 246 label_vocabulary=None, 272 label_vocabulary: A list of strings represents possible label values. If 274 `label_vocabulary`. If it is not given, that means labels are 300 label_vocabulary=label_vocabulary, 305 label_vocabulary=label_vocabulary,
|
head.py | 441 def _classification_output(scores, n_classes, label_vocabulary=None): 443 if label_vocabulary: 444 export_class_list = label_vocabulary 527 label_vocabulary=None, 537 `[D0, D1, ... DN, 1]`. If `label_vocabulary` given, `labels` must be a string 538 `Tensor` with values from the vocabulary. If `label_vocabulary` is not given, 551 shape `[D0, D1, ... DN, 1]`. Namely, the head applies `label_vocabulary` to 561 label_vocabulary: A list or tuple of strings representing possible label 564 have any value in `label_vocabulary`. Note that errors will be raised if 565 `label_vocabulary` is not provided but labels are strings [all...] |
dnn.py | 276 label_vocabulary=None, 306 label_vocabulary: A list of strings represents possible label values. If 308 `label_vocabulary`. If it is not given, that means labels are 333 label_vocabulary=label_vocabulary, 338 label_vocabulary=label_vocabulary,
|
dnn_linear_combined.py | 311 label_vocabulary=None, 347 label_vocabulary: A list of strings represents possible label values. If 349 `label_vocabulary`. If it is not given, that means labels are 379 label_vocabulary=label_vocabulary, 385 label_vocabulary=label_vocabulary,
|
dnn_linear_combined_test.py | 163 label_vocabulary=None, 173 label_vocabulary=label_vocabulary, 384 label_vocabulary=None, 395 label_vocabulary=label_vocabulary, [all...] |
dnn_testing_utils.py | [all...] |
baseline_test.py | [all...] |
linear_testing_utils.py | [all...] |
head_test.py | 378 n_classes, label_vocabulary=['aang', 'iroh', 'zuko']) 621 n_classes, label_vocabulary=['aang', 'iroh', 'zuko']) 640 n_classes, label_vocabulary=['aang', 'iroh', 'zuko']) [all...] |