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.train_hooks: a list or tuple containing hooks related to training that need to be populated when training ops are instantiated. Used primarily for sync hooks.
__new__
@staticmethod
__new__(
cls,
generator_train_op,
discriminator_train_op,
global_step_inc_op,
train_hooks=()
)
Create new instance of GANTrainOps(generator_train_op, discriminator_train_op, global_step_inc_op, train_hooks)