Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/
Dmetrics_impl.py42 def metric_variable(shape, dtype, validate_shape=True, name=None): function
255 total_cm = metric_variable(
365 total = metric_variable([], dtypes.float32, name='total')
366 count = metric_variable([], dtypes.float32, name='count')
574 true_p = metric_variable(
586 false_n = metric_variable(
598 true_n = metric_variable(
610 false_p = metric_variable(
1035 total = metric_variable([num_classes], dtypes.float32, name='total')
1036 count = metric_variable([num_classes], dtypes.float32, name='count')
[all …]
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dmetric_ops.py787 true_positives = metrics_impl.metric_variable(
799 false_negatives = metrics_impl.metric_variable(
811 true_negatives = metrics_impl.metric_variable(
823 false_positives = metrics_impl.metric_variable(
1665 tp_buckets_v = metrics_impl.metric_variable(
1667 fp_buckets_v = metrics_impl.metric_variable(
3199 count_ = metrics_impl.metric_variable([], dtypes.float32, name='count')
3200 mean_prediction = metrics_impl.metric_variable(
3202 mean_label = metrics_impl.metric_variable(
3204 comoment = metrics_impl.metric_variable( # C_A in update equation
[all …]
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dhead.py449 metric_variable = variable_scope.variable(
455 metric_variable, input_tensor, validate_shape=False)
458 metric_variable.set_shape(input_tensor.get_shape())
459 return (metric_variable.value(), update_op)