Home
last modified time | relevance | path

Searched refs:metric_obj (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/keras/engine/
Dcompile_utils.py130 metric_obj for metric_obj in nest.flatten(self._per_output_metrics)
131 if metric_obj is not None
199 for y_t, y_p, sw, loss_obj, loss_weight, metric_obj in zip(*zip_args):
218 if metric_obj is not None:
219 metric_obj.update_state(loss_metric_value, sample_weight=batch_dim)
427 for metric_obj in metric_objs:
428 if metric_obj is None:
430 metric_obj.update_state(y_t, y_p, sample_weight=mask)
459 metric_obj = metrics_mod.get(metric)
472 metric_obj = metrics_mod.binary_accuracy
[all …]
Dbase_layer_utils.py50 metric_obj = metrics_module.Mean(name=name, dtype=value.dtype)
51 return metric_obj, metric_obj(value)
Dbase_layer.py1744 metric_obj = getattr(value, '_metric_obj', None)
1746 should_update_state = not metric_obj
1747 name = metric_obj.name if metric_obj else name
1752 metric_obj = match
1753 elif metric_obj:
1754 self._metrics.append(metric_obj)
1757 metric_obj = metrics_mod.Mean(
1759 self._metrics.append(metric_obj)
1762 metric_obj(value)
Dbase_layer_v1.py1870 metric_obj = match
1874 metric_obj = result_tensor._metric_obj
1875 self._metrics.append(metric_obj)
1891 metric_obj = match
1893 metric_obj, result_tensor = base_layer_utils.create_mean_metric(
1895 self._metrics.append(metric_obj)
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py72 def decorated(metric_obj, *args, **kwargs): argument
79 for weight in metric_obj.weights:
91 metric_obj.add_update(update_op)
116 def decorated(metric_obj, *args): argument
147 metric_obj._call_result = result_t