tf.contrib.gan.GANTrainOps

Class GANTrainOps

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

GANTrainOps contains the training ops.

Args:

  • generator_train_op: Op that performs a generator update step.
  • discriminator_train_op: Op that performs a discriminator update step.
  • global_step_inc_op: Op that increments the shared global step.

__new__

__new__(
    _cls,
    generator_train_op,
    discriminator_train_op,
    global_step_inc_op
)

Create new instance of GANTrainOps(generator_train_op, discriminator_train_op, global_step_inc_op)

Properties

discriminator_train_op

Alias for field number 1

generator_train_op

Alias for field number 0

global_step_inc_op

Alias for field number 2