The TensorFlow Distributions library has moved to TensorFlow Probability

How to build Tensorflow from source with the ALREADY-installed TensorFlow Probability.

The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.

Hi @jiapei100 ,

Welcome to the TensorFlow Forum!

Tensorflow Distribution is now part of Tensorflow Probability module. You can access Tensorflow Distribution from installed Tensorflow probability in your system as below:

import tensorflow_probability as tfp
tfd = tfp.distributions

and can find all it’s usable APIs list by referring to the tfp.distributions APIs list.

Please refer to this link to build Tensorflow from source as per your system OS.