TensorFlow 1 version | View source on GitHub |
Serializes loss function or Loss
instance.
tf.keras.losses.serialize(
loss
)
Arguments | |
---|---|
loss
|
A Keras Loss instance or a loss function.
|
Returns | |
---|---|
Loss configuration dictionary. |
TensorFlow 1 version | View source on GitHub |
Serializes loss function or Loss
instance.
Main aliases
Compat aliases for migrationSee Migration guide for more details.
tf.keras.losses.serialize(
loss
)
Arguments | |
---|---|
loss
|
A Keras Loss instance or a loss function.
|
Returns | |
---|---|
Loss configuration dictionary. |
此页内容是否对您有帮助
感谢反馈!