CycleGANModel
Defined in tensorflow/contrib/gan/python/namedtuples.py
.
An CycleGANModel contains all the pieces needed for CycleGAN training.
The model model_x2y
generator F maps data set X to Y, while the model model_y2x
generator G maps data set Y to X.
See https://arxiv.org/abs/1703.10593 for more details.
model_x2y
: A GANModel
namedtuple whose generator maps data set X to Y.model_y2x
: A GANModel
namedtuple whose generator maps data set Y to X.reconstructed_x
: A Tensor
of reconstructed data X which is G(F(X)).reconstructed_y
: A Tensor
of reconstructed data Y which is F(G(Y)).model_x2y
Alias for field number 0
model_y2x
Alias for field number 1
reconstructed_x
Alias for field number 2
reconstructed_y
Alias for field number 3
__new__
__new__( _cls, model_x2y, model_y2x, reconstructed_x, reconstructed_y )
Create new instance of CycleGANModel(model_x2y, model_y2x, reconstructed_x, reconstructed_y)
© 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/CycleGANModel