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
Loading
Please sign in to comment