File "optimizer.py", line 59, in minimize
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "optimizer.py", line 82, in compute_gradients
var_refs = [x_tm1.ref() for x_tm1 in var_list]
AttributeError: 'Variable' object has no attribute 'ref'