tf.keras.metrics.serialize

TensorFlow 1 version View source on GitHub

Serializes metric function or Metric instance.

metric A Keras Metric instance or a metric function.

Metric configuration dictionary.