W3cubDocs

/TensorFlow Python

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.

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

Methods

__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)

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/gan/GANTrainOps