Module: tf.contrib.eager.metrics

Metrics namespace.

Classes

class Accuracy: Calculates how often predictions matches labels.

class BinaryAccuracy: Calculates how often predictions matches labels.

class CategoricalAccuracy: Calculates how often predictions matches labels.

class Mean: Computes the (weighted) mean of the given values.

class Metric: A metric holds state for aggregating statistics over an evaluation run.

class SparseAccuracy: Calculates how often predictions matches labels.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/eager/metrics