TensorFlow 2.0 Beta is available Learn more

tf.contrib.gan.GANTrainOps

View source on GitHub

Class GANTrainOps

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.

Properties

generator_train_op

discriminator_train_op

global_step_inc_op

train_hooks