Commit 3dd28824 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Move non-core Distributions and Bijectors to Tensorflow Probability (TFP), and...

Move non-core Distributions and Bijectors to Tensorflow Probability (TFP), and deprecate tf.contrib.distributions.

This CL:
- copies Distributions code into TFP
- Updates it to use TFP idioms, e.g., 'tf.matmul' instead of 'math_ops.matmul'.
- Creates a new `internal` subdirectory for modules that must be importable but not visible externally by way of `__init__.py`.
- Adds a deprecation notice to tf.contrib.distributions BUILD files and to the class constructors of all tf.contrib Distributions and Bijectors. (and removes tests from the deprecated copies of `distribution_test` and `normal_conjugate_posteriors_test` whose `instance()` calls would be broken by the deprecation wrapper).
- Updates miscellaneous references to distributions in TFP. It does not attempt to migrate *all* TFP code to use TFP Distributions; this will be done in a separate CL.

PiperOrigin-RevId: 200333629
parent 574a8517
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment