Save the date! Google I/O returns May 18-20 Register now


TensorFlow 1 version View source on GitHub

Deserializes a serialized metric class/function instance.

config Metric configuration.
custom_objects Optional dictionary mapping names (strings) to custom objects (classes and functions) to be considered during deserialization.

A Keras Metric instance or a metric function.