# This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script.
"""Public API for tf._api.v2.losses namespace
"""

import sys as _sys

from tensorflow.python.ops.losses.losses_impl import Reduction # line: 35
from tensorflow.python.ops.losses.losses_impl import absolute_difference # line: 216
from tensorflow.python.ops.losses.losses_impl import compute_weighted_loss # line: 137
from tensorflow.python.ops.losses.losses_impl import cosine_distance # line: 270
from tensorflow.python.ops.losses.losses_impl import hinge_loss # line: 327
from tensorflow.python.ops.losses.losses_impl import huber_loss # line: 378
from tensorflow.python.ops.losses.losses_impl import log_loss # line: 455
from tensorflow.python.ops.losses.losses_impl import mean_pairwise_squared_error # line: 513
from tensorflow.python.ops.losses.losses_impl import mean_squared_error # line: 621
from tensorflow.python.ops.losses.losses_impl import sigmoid_cross_entropy # line: 771
from tensorflow.python.ops.losses.losses_impl import softmax_cross_entropy # line: 837
from tensorflow.python.ops.losses.losses_impl import sparse_softmax_cross_entropy # line: 1046
from tensorflow.python.ops.losses.util import add_loss # line: 174
from tensorflow.python.ops.losses.util import get_losses # line: 189
from tensorflow.python.ops.losses.util import get_regularization_loss # line: 216
from tensorflow.python.ops.losses.util import get_regularization_losses # line: 203
from tensorflow.python.ops.losses.util import get_total_loss # line: 234

from tensorflow.python.util import module_wrapper as _module_wrapper

if not isinstance(_sys.modules[__name__], _module_wrapper.TFModuleWrapper):
  _sys.modules[__name__] = _module_wrapper.TFModuleWrapper(
      _sys.modules[__name__], "losses", public_apis=None, deprecation=False,
      has_lite=False)
