diff options
author | Brian Patton <bjp@google.com> | 2018-09-20 17:48:09 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-20 17:52:20 -0700 |
commit | 9c81bb7308b0cbec609aa0d9c7a4bed7c4545111 (patch) | |
tree | 8978237bddfa4a3ba63e25a0a7dd7f4dd3e5f22e /tensorflow/contrib/gan | |
parent | 97c64ea8501634866aaa9e8a5c6a861b04293c1b (diff) |
Updating doc references to tf.distributions to tfp.distributions.
PiperOrigin-RevId: 213915666
Diffstat (limited to 'tensorflow/contrib/gan')
-rw-r--r-- | tensorflow/contrib/gan/python/losses/python/losses_impl.py | 6 | ||||
-rw-r--r-- | tensorflow/contrib/gan/python/namedtuples.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tensorflow/contrib/gan/python/losses/python/losses_impl.py b/tensorflow/contrib/gan/python/losses/python/losses_impl.py index d389748374..8bc4db8424 100644 --- a/tensorflow/contrib/gan/python/losses/python/losses_impl.py +++ b/tensorflow/contrib/gan/python/losses/python/losses_impl.py @@ -773,9 +773,9 @@ def mutual_information_penalty( structured_generator_inputs: A list of Tensors representing the random noise that must have high mutual information with the generator output. List length should match `predicted_distributions`. - predicted_distributions: A list of tf.Distributions. Predicted by the - recognizer, and used to evaluate the likelihood of the structured noise. - List length should match `structured_generator_inputs`. + predicted_distributions: A list of `tfp.distributions.Distribution`s. + Predicted by the recognizer, and used to evaluate the likelihood of the + structured noise. List length should match `structured_generator_inputs`. weights: Optional `Tensor` whose rank is either 0, or the same dimensions as `structured_generator_inputs`. scope: The scope for the operations performed in computing the loss. diff --git a/tensorflow/contrib/gan/python/namedtuples.py b/tensorflow/contrib/gan/python/namedtuples.py index a462b68e28..b9ac1bf151 100644 --- a/tensorflow/contrib/gan/python/namedtuples.py +++ b/tensorflow/contrib/gan/python/namedtuples.py @@ -91,9 +91,9 @@ class InfoGANModel( structured_generator_inputs: A list of Tensors representing the random noise that must have high mutual information with the generator output. List length should match `predicted_distributions`. - predicted_distributions: A list of tf.Distributions. Predicted by the - recognizer, and used to evaluate the likelihood of the structured noise. - List length should match `structured_generator_inputs`. + predicted_distributions: A list of `tfp.distributions.Distribution`s. + Predicted by the recognizer, and used to evaluate the likelihood of the + structured noise. List length should match `structured_generator_inputs`. discriminator_and_aux_fn: The original discriminator function that returns a tuple of (logits, `predicted_distributions`). """ |