tf.contrib.gan.CycleGANLoss

Class CycleGANLoss

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

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.

__new__

__new__(
    _cls,
    loss_x2y,
    loss_y2x
)

Create new instance of CycleGANLoss(loss_x2y, loss_y2x)

Properties

loss_x2y

Alias for field number 0

loss_y2x

Alias for field number 1