TensorFlow

API

 tf.keras / metrics / metrics.categorical_accuracy


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.

此页内容是否对您有帮助