tf.keras.metrics.deserialize

Deserializes a serialized metric class/function instance.

Compat aliases for migration

See Migration guide for more details.

`tf.compat.v1.keras.metrics.deserialize`

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.