Fix a bug which caused slot variables to be shared when executing eagerly
Threads the uid() name of a ResourceVariable through to the Optimizer. Tests that slot variables are unique in several ways. Previously ResourceVariable._shared_name was the Optimizer's slot key for a variable, which for tfe.Variable() is just the non-uniquified name. PiperOrigin-RevId: 189240115
Loading
Please sign in to comment