Implementation of mean in categorical
NotImplementedError: mean is not implemented: Categorical
Defined a _mean method for implementing the mean of the Categorical distribution, following a previous PR (https://github.com/tensorflow/probability/pull/1411).
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
This got implemented in b14ae1d79de4a52d834a3ba2dc88f7e5d849e6c7.