Skip to content

Commit

Permalink
Move bijectors from a distributions/bijectors subdirectory to a new b…
Browse files Browse the repository at this point in the history
…ijectors "top-level" directory.

PiperOrigin-RevId: 201640254
  • Loading branch information
derifatives authored and Copybara-Service committed Jun 22, 2018
1 parent ebcf275 commit 67a55b2
Show file tree
Hide file tree
Showing 89 changed files with 624 additions and 696 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"from tensorflow.python.ops.distributions import util as distribution_util\n",
"\n",
"tfd = tfp.distributions\n",
"tfb = tfp.distributions.bijectors"
"tfb = tfp.bijectors"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"import tensorflow as tf\n",
"import tensorflow_probability as tfp\n",
"tfd = tfp.distributions\n",
"tfb = tfp.distributions.bijectors"
"tfb = tfp.bijectors"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"import tensorflow as tf\n",
"import tensorflow_probability as tfp\n",
"tfd = tfp.distributions\n",
"tfb = tfp.distributions.bijectors\n",
"tfb = tfp.bijectors\n",
"\n",
"tfe = tf.contrib.eager\n",
"tfe.enable_eager_execution()\n",
Expand Down
2 changes: 2 additions & 0 deletions tensorflow_probability/python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from __future__ import division
from __future__ import print_function

from tensorflow_probability.python import bijectors
from tensorflow_probability.python import distributions
from tensorflow_probability.python import edward2
from tensorflow_probability.python import glm
Expand All @@ -34,6 +35,7 @@

_allowed_symbols = [
'__version__',
'bijectors',
'distributions',
'edward2',
'glm',
Expand Down
Loading

0 comments on commit 67a55b2

Please sign in to comment.