Home
last modified time | relevance | path

Searched refs:eval_metric_ops (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dmodel_fn.py91 eval_metric_ops=None, argument
183 if eval_metric_ops is None:
184 eval_metric_ops = {}
186 if not isinstance(eval_metric_ops, dict):
205 eval_metric_ops=eval_metric_ops,
284 for key, value in six.iteritems(self.eval_metric_ops):
303 eval_metric_ops=_get_eval_metric_ops(),
Dlogistic_regressor.py56 eval_metric_ops = _make_logistic_eval_metric_ops(
61 eval_metric_ops = None
67 eval_metric_ops=eval_metric_ops,
Drnn_common.py158 eval_metric_ops = {}
165 eval_metric_ops['accuracy'] = metrics.streaming_accuracy(
169 eval_metric_ops['accuracy'] = metrics.streaming_accuracy(
179 return eval_metric_ops
Dkmeans.py139 eval_metric_ops = {KMeansClustering.SCORES: loss}
148 eval_metric_ops=eval_metric_ops,
Dstate_saving_rnn_estimator.py508 eval_metric_ops = None
510 eval_metric_ops = rnn_common.get_eval_metric_ops(
531 eval_metric_ops=eval_metric_ops)
Ddynamic_rnn_estimator.py518 eval_metric_ops = None
520 eval_metric_ops = rnn_common.get_eval_metric_ops(
542 eval_metric_ops=eval_metric_ops,
Dmodel_fn_test.py55 eval_metric_ops={
67 for key, value in six.iteritems(model_fn_ops.eval_metric_ops):
74 estimator_spec.eval_metric_ops)
Dhead.py654 eval_metric_ops = None
670 eval_metric_ops = metrics_fn(
677 eval_metric_ops=eval_metric_ops,
1526 eval_metric_ops={})
1711 if m.eval_metric_ops is not None:
1712 for k, v in six.iteritems(m.eval_metric_ops):
1724 eval_metric_ops=metrics)
1767 for k, v in m.eval_metric_ops.items():
1776 eval_metric_ops=metrics)
Dhead_test.py66 test_case.assertIn(k, model_fn_ops.eval_metric_ops)
69 value_tensor, update_tensor = model_fn_ops.eval_metric_ops[key]
1670 self.assertDictEqual(model_fn_ops.eval_metric_ops, {})
1726 self.assertTrue(model_fn_ops.eval_metric_ops)
1751 self.assertTrue(model_fn_ops.eval_metric_ops)
1778 self.assertTrue(model_fn_ops.eval_metric_ops)
1804 self.assertFalse(model_fn_ops.eval_metric_ops)
1852 self.assertIsNotNone(model_fn_ops.eval_metric_ops)
1855 metric_ops = model_fn_ops.eval_metric_ops
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dhead_impl.py216 eval_metric_ops = {
227 eval_metric_ops.update(custom_eval_metric_ops)
232 eval_metric_ops=eval_metric_ops)
Dgan_estimator_impl.py307 eval_metric_ops = {
318 eval_metric_ops.update(custom_eval_metric_ops)
323 eval_metric_ops=eval_metric_ops)
Dstargan_estimator_impl.py308 eval_metric_ops = {
319 eval_metric_ops.update(custom_eval_metric_ops)
324 eval_metric_ops=eval_metric_ops)
Dtpu_gan_estimator_impl.py324 eval_metric_ops = {
334 eval_metric_ops.update(custom_eval_metric_ops)
335 return eval_metric_ops
/external/tensorflow/tensorflow/examples/learn/
Diris_custom_model.py60 eval_metric_ops = {
65 mode, loss=loss, eval_metric_ops=eval_metric_ops)
Diris_custom_decay_dnn.py63 eval_metric_ops = {
68 mode, loss=loss, eval_metric_ops=eval_metric_ops)
/external/tensorflow/tensorflow/examples/tutorials/layers/
Dcnn_mnist.py111 eval_metric_ops = {
115 mode=mode, loss=loss, eval_metric_ops=eval_metric_ops)
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dgmm.py174 eval_metric_ops = {
179 eval_metric_ops=eval_metric_ops,
Dwals.py313 eval_metric_ops={},
345 eval_metric_ops={},
367 eval_metric_ops={},
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Destimator_utils.py73 eval_metric_ops=estimator_spec.eval_metric_ops,
/external/tensorflow/tensorflow/contrib/compiler/
Dxla.py599 eval_metric_ops = eval_metric_fn(*eval_metric_fn_tensors)
601 eval_metric_ops = None
606 eval_metric_ops=eval_metric_ops,
704 if estimator_spec.eval_metric_ops:
Dxla_test.py387 sess.run(estimator_spec.eval_metric_ops['metric_1'][0]),
390 sess.run(estimator_spec.eval_metric_ops['metric_1'][1]),
393 sess.run(estimator_spec.eval_metric_ops['metric_2'][0]),
396 sess.run(estimator_spec.eval_metric_ops['metric_2'][1]),
408 eval_metric_ops={
443 self.assertEqual(estimator_spec.eval_metric_ops, {})
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.-estimator-spec.pbtxt7 name: "eval_metric_ops"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-estimator-spec.pbtxt7 name: "eval_metric_ops"
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dhead_test.py122 metric[1] for metric in outputs.eval_metric_ops.values()]
131 (loss_mean, outputs.eval_metric_ops["ticker"][0],
132 outputs.eval_metric_ops[feature_keys.FilteringResults.STATE_TUPLE][
/external/tensorflow/tensorflow/contrib/distribute/python/examples/
Dsimple_estimator_example.py53 mode, loss=loss_fn(), eval_metric_ops={"Accuracy": acc_obj})

12