Edward: A library for probabilistic modeling, inference, and criticism