You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the proposed solution makes sense. we should check this; i forget why but i recall having to add ref() for a reason. maybe it was because tf.gradients() didn't work explicitly on tensorflow variables and do such a conversion internally? (vague recollection)
It's now a private method
Variable._ref()
)Edward uses this in
edward/inferences/klpq.py
andedward/inferences/klqp.py
for computing gradients, in lines that look like:I believe it should work if
[v.ref() for v in var_list]
is simply replaced byvar_list
.The text was updated successfully, but these errors were encountered: