tf.contrib.gan.get_sequential_train_steps(train_steps=namedtuples.GANTrainSteps(1, 1))
Defined in tensorflow/contrib/gan/python/train.py
.
Returns a thin wrapper around slim.learning.train_step, for GANs.
This function is to provide support for the Supervisor. For new code, please use MonitoredSession
and get_sequential_train_hooks
.
train_steps
: A GANTrainSteps
tuple that determines how many generator and discriminator training steps to take.A function that can be used for train_step_fn
for GANs.
© 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_steps