[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.losses.add_loss\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/losses/python/losses/loss_ops.py#L176-L186) |\n\nAdds a externally defined loss to the collection of losses. (deprecated) \n\n tf.contrib.losses.add_loss(\n loss, loss_collection=tf.GraphKeys.LOSSES\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30. Instructions for updating: Use tf.losses.add_loss instead.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-------------------|-----------------------------------------|\n| `loss` | A loss `Tensor`. |\n| `loss_collection` | Optional collection to add the loss to. |\n\n\u003cbr /\u003e"]]