TensorFlow 2.0 Beta is available Learn more

tf.contrib.gan.CycleGANLoss

View source on GitHub

Class CycleGANLoss

CycleGANLoss contains the losses for CycleGANModel.

See https://arxiv.org/abs/1703.10593 for more details.

Args:

  • loss_x2y: A GANLoss namedtuple representing the loss of model_x2y.
  • loss_y2x: A GANLoss namedtuple representing the loss of model_y2x.

Properties

loss_x2y

loss_y2x