Home
last modified time | relevance | path

Searched refs:label_key (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dmetric_spec_test.py61 metric_fn=fn, prediction_key="p1", label_key="l1", weight_key="f2")
212 spec = MetricSpec(metric_fn=fn, prediction_key="p1", label_key="l1")
226 spec = MetricSpec(metric_fn=_fn, label_key="l1", weight_key="f2")
260 spec = MetricSpec(metric_fn=_fn, label_key="l1", weight_key="f2")
291 metric_fn=_fn, prediction_key="p1", label_key="l1", weight_key="f2")
307 metric_fn=_fn, prediction_key="p1", label_key="l1", weight_key="f2")
318 label_key="my_label",
333 label_key="my_label",
356 label_key="l1",
365 prediction_key="p1", label_key="l1", weight_key="f2")
[all …]
Dmetric_spec.py301 label_key=None, argument
331 is_labels_required=label_key is not None,
334 self._label_key = label_key
342 def label_key(self): member in MetricSpec
365 'label_key=%s, ' % self.label_key +
433 label = _get_dict('label', labels, self.label_key)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dmake_batched_features_dataset_test.py47 label_key="label",
59 label_key="label",
71 label_key="label",
162 label_key="label",
196 label_key="label",
207 label_key="label",
Dreader_dataset_ops_test_base.py76 label_key=None, argument
95 label_key=label_key,
/external/tensorflow/tensorflow/contrib/eager/python/
Devaluator.py350 def __init__(self, model, loss_key="loss", label_key="label", argument
358 self.label_key = label_key
367 self.accuracy(eval_data[self.label_key],
371 self.accuracy(eval_data[self.label_key],
Devaluator_test.py184 e({e.loss_key: 1.0, e.label_key: 5, e.predicted_class_key: 5})
186 e.label_key: [1, 2, 3],
/external/tensorflow/tensorflow/python/keras/datasets/
Dcifar.py26 def load_batch(fpath, label_key='labels'): argument
48 labels = d[label_key]
Dcifar100.py52 x_train, y_train = load_batch(fpath, label_key=label_mode + '_labels')
55 x_test, y_test = load_batch(fpath, label_key=label_mode + '_labels')
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dreaders.py713 label_key=None, argument
859 if label_key:
860 if label_key not in features:
863 label_key)
864 dataset = dataset.map(lambda x: (x, x.pop(label_key)))
875 label_key=None, argument
887 file_pattern, batch_size, features, reader, label_key, reader_args,
/external/tensorflow/tensorflow/contrib/data/python/ops/
Dreaders.py170 label_key=None, argument
271 file_pattern, batch_size, features, reader, label_key, reader_args,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.pbtxt193 …argspec: "args=[\'feature_columns\', \'label_key\', \'label_dtype\', \'label_default\', \'weight_c…
197 …argspec: "args=[\'feature_columns\', \'label_key\', \'label_dtype\', \'label_default\', \'label_di…
Dtensorflow.data.experimental.pbtxt141 …argspec: "args=[\'file_pattern\', \'batch_size\', \'features\', \'reader\', \'label_key\', \'reade…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.pbtxt197 …argspec: "args=[\'feature_columns\', \'label_key\', \'label_dtype\', \'label_default\', \'weight_c…
201 …argspec: "args=[\'feature_columns\', \'label_key\', \'label_dtype\', \'label_default\', \'label_di…
Dtensorflow.data.experimental.pbtxt141 …argspec: "args=[\'file_pattern\', \'batch_size\', \'features\', \'reader\', \'label_key\', \'reade…
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_input_test.py307 label_key='labels')