W3cubDocs

/TensorFlow Python

tf.contrib.gan.get_sequential_train_hooks

tf.contrib.gan.get_sequential_train_hooks(train_steps=namedtuples.GANTrainSteps(1, 1))

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

Returns a hooks function for sequential GAN training.

Args:

  • train_steps: A GANTrainSteps tuple that determines how many generator and discriminator training steps to take.

Returns:

A function that takes a GANTrainOps tuple and returns a list of hooks.

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