tf.contrib.gan.GANLoss

Class GANLoss

Defined in tensorflow/contrib/gan/python/namedtuples.py.

GANLoss contains the generator and discriminator losses.

Args:

  • generator_loss: A tensor for the generator loss.
  • discriminator_loss: A tensor for the discriminator loss.

Properties

discriminator_loss

Alias for field number 1

generator_loss

Alias for field number 0

Methods

__new__

__new__(
    _cls,
    generator_loss,
    discriminator_loss
)

Create new instance of GANLoss(generator_loss, discriminator_loss)