tf.keras.losses.deserialize
Stay organized with collections
Save and categorize content based on your preferences.
Deserializes a serialized loss class/function instance.
tf.keras.losses.deserialize(
name, custom_objects=None
)
Arguments |
name
|
Loss configuration.
|
custom_objects
|
Optional dictionary mapping names (strings) to custom
objects (classes and functions) to be considered during deserialization.
|
Returns |
A Keras Loss instance or a loss function.
|
[null,null,["Last updated 2021-02-18 UTC."],[],[]]