Skip to content

Commit

Permalink
Keep tf.distributions.* symbols in their current namespace (i.e. don'…
Browse files Browse the repository at this point in the history
…t move to tf.probability.*
  • Loading branch information
annarev committed Aug 28, 2018
1 parent 34cc101 commit 1efdfe4
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions rfcs/20180827-api-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ Furthermore, TensorFlow API has many users. Therefore, we should avoid removing

We plan to add the following additional namespaces:

**tf.probability** - replaces `tf.distributions` namespace and will contain other ops related to statistics.

**tf.random** - will contain random sampling ops.

Note that we already introduced some new namespaces earlier in June, specifically
Expand Down Expand Up @@ -88,7 +86,7 @@ We also want to remove some of the existing endpoints. Specifically we were look
* Remove all endpoints that have been moved to `tf.random` namespace.
* Keeps most symbols in `tf.manip` in root namespace.

In total, we propose to remove 222 endpoints, including 168 endpoints in the root namespace.
In total, we propose to remove 207 endpoints, including 170 endpoints in the root namespace.

See full list of endpoints we want to remove in *Appendix 2: Deprecated
Endpoints*.
Expand Down Expand Up @@ -184,24 +182,6 @@ Work will be done in multiple stages:
| tf.decode_csv | tf.io.decode_csv |
| tf.depth_to_space | tf.nn.depth_to_space, tf.manip.depth_to_space |
| tf.deserialize_many_sparse | tf.io.deserialize_many_sparse |
| tf.distributions.Bernoulli | tf.probability.Bernoulli |
| tf.distributions.Beta | tf.probability.Beta |
| tf.distributions.Categorical | tf.probability.Categorical |
| tf.distributions.Dirichlet | tf.probability.Dirichlet |
| tf.distributions.DirichletMultinomial | tf.probability.DirichletMultinomial |
| tf.distributions.Distribution | tf.probability.Distribution |
| tf.distributions.Exponential | tf.probability.Exponential |
| tf.distributions.FULLY_REPARAMETERIZED | tf.probability.FULLY_REPARAMETERIZED |
| tf.distributions.Gamma | tf.probability.Gamma |
| tf.distributions.Laplace | tf.probability.Laplace |
| tf.distributions.Multinomial | tf.probability.Multinomial |
| tf.distributions.NOT_REPARAMETERIZED | tf.probability.NOT_REPARAMETERIZED |
| tf.distributions.Normal | tf.probability.Normal |
| tf.distributions.RegisterKL | tf.probability.RegisterKL |
| tf.distributions.ReparameterizationType | tf.probability.ReparameterizationType |
| tf.distributions.StudentT | tf.probability.StudentT |
| tf.distributions.Uniform | tf.probability.Uniform |
| tf.distributions.kl_divergence | tf.probability.kl_divergence |
| tf.divide | tf.math.divide |
| tf.double | tf.dtypes.double |
| tf.erf | tf.math.erf |
Expand Down Expand Up @@ -449,20 +429,6 @@ Work will be done in multiple stages:
| tf.deserialize_many_sparse | replace with tf.io.deserialize_many_sparse |
| tf.diag_part | replace with tf.linalg.tensor_diag_part |
| tf.digamma | replace with tf.math.digamma |
| tf.distributions.Bernoulli | replace with tf.probability.Bernoulli |
| tf.distributions.Beta | replace with tf.probability.Beta |
| tf.distributions.Categorical | replace with tf.probability.Categorical |
| tf.distributions.Dirichlet | replace with tf.probability.Dirichlet |
| tf.distributions.DirichletMultinomial | replace with tf.probability.DirichletMultinomial |
| tf.distributions.Exponential | replace with tf.probability.Exponential |
| tf.distributions.Gamma | replace with tf.probability.Gamma |
| tf.distributions.Laplace | replace with tf.probability.Laplace |
| tf.distributions.Multinomial | replace with tf.probability.Multinomial |
| tf.distributions.RegisterKL | replace with tf.probability.RegisterKL |
| tf.distributions.ReparameterizationType | replace with tf.probability.FULLY_REPARAMETERIZED |
| tf.distributions.StudentT | replace with tf.probability.StudentT |
| tf.distributions.Uniform | replace with tf.probability.Uniform |
| tf.distributions.kl_divergence | replace with tf.probability.kl_divergence |
| tf.encode_base64 | replace with tf.io.encode_base64 |
| tf.erf | replace with tf.math.erf |
| tf.erfc | replace with tf.math.erfc |
Expand Down

0 comments on commit 1efdfe4

Please sign in to comment.