Model.add_loss is not documented #65160
Labels
stale
This label marks the issue/pr stale - to be closed automatically if no activity
stat:awaiting response
Status - Awaiting response from author
type:bug
Bug
type:docs-bug
Document issues
Issue type
Documentation Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
In the documentation of
tf.keras.Model
as available at https://www.tensorflow.org/api_docs/python/tf/keras/Model, the methodModel.add_loss
has been used in the example code for the methodcompute_loss
. However, the methodModel.add_loss
itself has not been documented on this page.The
keras
documentation provides some documentation forLayer.add_loss
, but I couldn't find any documentation even there forModel.add_loss
.Standalone code to reproduce the issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: