Simplify softmax_centered implementation.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 5 Mar 2018 20:46:30 +0000 (12:46 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 5 Mar 2018 20:50:46 +0000 (12:50 -0800)
commit39e04e5d02cb98db90f1052e328c3c73718c8603
tree25a7771d9c0ca03502b1998b1d7048bcdb37d19b
parent119795f5341737341b526814c6360b5679cd81d3
Simplify softmax_centered implementation.

This also resolves a bug with softmax_centered.inverse not working on inputs with
partially known.

PiperOrigin-RevId: 187907026
tensorflow/contrib/distributions/python/kernel_tests/bijectors/softmax_centered_test.py
tensorflow/contrib/distributions/python/ops/bijectors/softmax_centered.py