[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.losses.get_total_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#L216-L236) |\n\nReturns a tensor whose value represents the total loss. (deprecated) \n\n tf.contrib.losses.get_total_loss(\n add_regularization_losses=True, name='total_loss'\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2016-12-30. Instructions for updating: Use tf.losses.get_total_loss instead.\n\nNotice that the function adds the given losses to the regularization losses.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------------------------|----------------------------------------------------------------------------------|\n| `add_regularization_losses` | A boolean indicating whether or not to use the regularization losses in the sum. |\n| `name` | The name of the returned tensor. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `Tensor` whose value represents the total loss. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|--------------|------------------------------|\n| `ValueError` | if `losses` is not iterable. |\n\n\u003cbr /\u003e"]]