W3cubDocs

/TensorFlow Python

Module: tf.contrib.gan.losses

Defined in tensorflow/contrib/gan/python/losses/__init__.py.

TFGAN losses and penalties.

Losses can be used with individual arguments or with GANModel tuples.

Modules

wargs module: TFGAN grouped API. Please see README.md for details and usage.

Functions

acgan_discriminator_loss(...)

acgan_generator_loss(...)

combine_adversarial_loss(...): Combine adversarial loss and main loss.

cycle_consistency_loss(...): Defines the cycle consistency loss.

least_squares_discriminator_loss(...)

least_squares_generator_loss(...)

minimax_discriminator_loss(...)

minimax_generator_loss(...)

modified_discriminator_loss(...)

modified_generator_loss(...)

mutual_information_penalty(...)

wasserstein_discriminator_loss(...)

wasserstein_generator_loss(...)

wasserstein_gradient_penalty(...)

Other Members

__cached__

__loader__

__spec__

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/gan/losses