W3cubDocs

/TensorFlow Python

tf.contrib.gan.GANTrainSteps

Class GANTrainSteps

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

Contains configuration for the GAN Training.

Args:

  • generator_train_steps: Number of generator steps to take in each GAN step.
  • discriminator_train_steps: Number of discriminator steps to take in each GAN step.

Properties

discriminator_train_steps

Alias for field number 1

generator_train_steps

Alias for field number 0

Methods

__new__

__new__(
    _cls,
    generator_train_steps,
    discriminator_train_steps
)

Create new instance of GANTrainSteps(generator_train_steps, discriminator_train_steps)

© 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/GANTrainSteps