Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/_api/v2/compat/v1/losses/__init__.py: 100%
19 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
1# This file is MACHINE GENERATED! Do not edit.
2# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
3"""Loss operations for use in neural networks.
5Note: All the losses are added to the `GraphKeys.LOSSES` collection by default.
7"""
9import sys as _sys
11from tensorflow.python.ops.losses.losses_impl import Reduction
12from tensorflow.python.ops.losses.losses_impl import absolute_difference
13from tensorflow.python.ops.losses.losses_impl import compute_weighted_loss
14from tensorflow.python.ops.losses.losses_impl import cosine_distance
15from tensorflow.python.ops.losses.losses_impl import hinge_loss
16from tensorflow.python.ops.losses.losses_impl import huber_loss
17from tensorflow.python.ops.losses.losses_impl import log_loss
18from tensorflow.python.ops.losses.losses_impl import mean_pairwise_squared_error
19from tensorflow.python.ops.losses.losses_impl import mean_squared_error
20from tensorflow.python.ops.losses.losses_impl import sigmoid_cross_entropy
21from tensorflow.python.ops.losses.losses_impl import softmax_cross_entropy
22from tensorflow.python.ops.losses.losses_impl import sparse_softmax_cross_entropy
23from tensorflow.python.ops.losses.util import add_loss
24from tensorflow.python.ops.losses.util import get_losses
25from tensorflow.python.ops.losses.util import get_regularization_loss
26from tensorflow.python.ops.losses.util import get_regularization_losses
27from tensorflow.python.ops.losses.util import get_total_loss