Skip to content

AttributeError: 'Variable' object has no attribute 'ref' #2

@cancan101

Description

@cancan101

I am seeing:

  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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions