View source on GitHub |
Serializes metric function or Metric
instance.
tf.keras.metrics.serialize(
metric, use_legacy_format=False
)
Args | |
---|---|
metric
|
A Keras Metric instance or a metric function.
|
Returns | |
---|---|
Metric configuration dictionary. |