Home
last modified time | relevance | path

Searched refs:metrics_mod (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/keras/engine/
Dcompile_utils.py26 from tensorflow.python.keras import metrics as metrics_mod unknown
121 self._loss_metric = metrics_mod.Mean(name='loss') # Total loss.
163 metrics_mod.Mean(output_name + '_loss'))
459 metric_obj = metrics_mod.get(metric)
472 metric_obj = metrics_mod.binary_accuracy
474 metric_obj = metrics_mod.sparse_categorical_accuracy
476 metric_obj = metrics_mod.categorical_accuracy
479 metric_obj = metrics_mod.binary_crossentropy
481 metric_obj = metrics_mod.sparse_categorical_crossentropy
483 metric_obj = metrics_mod.categorical_crossentropy
[all …]
Dcompile_utils_test.py28 from tensorflow.python.keras import metrics as metrics_mod unknown
439 self.assertEqual(acc_metric_1._fn, metrics_mod.binary_accuracy)
452 self.assertEqual(acc_metric_2._fn, metrics_mod.binary_accuracy)
573 metrics_mod.binary_crossentropy)
580 metrics_mod.sparse_categorical_crossentropy)
586 metrics_mod.categorical_crossentropy)
593 metrics_mod.binary_accuracy)
600 metrics_mod.sparse_categorical_accuracy)
606 metrics_mod.categorical_accuracy)
Dbase_layer.py90 metrics_mod = generic_utils.LazyLoader( variable
1757 metric_obj = metrics_mod.Mean(
2865 if isinstance(val, metrics_mod.Metric) and hasattr(self, '_metrics'):
2952 not isinstance(trackable_obj, metrics_mod.Metric)):