tf.contrib.losses.add_loss(*args, **kwargs)
Adds a externally defined loss to the collection of losses.
Args:
-
loss
: A lossTensor
. -
loss_collection
: Optional collection to add the loss to.
tf.contrib.losses.add_loss(*args, **kwargs)
Adds a externally defined loss to the collection of losses.
loss
: A loss Tensor
.loss_collection
: Optional collection to add the loss to.Designed by : w10schools
service@w10schools.com
Please login to continue.