I am trying to change my code from edward
to tensorflow_probability.edward2
. The issue is that, whenever I define a posterior distribution, I use a_post = ed.copy(a, {u: qu}, scope='a_post')
but .copy
API seems no longer available:
module 'tensorflow_probability.python.edward2' has no attribute 'copy'
What's the tensorflow_probability
way of doing the same operation?