Commit 5bb97186 authored by Allen Lavoie's avatar Allen Lavoie Committed by TensorFlower Gardener
Browse files

TFE: Raises an error when attempting to save multiple ResourceVariable objects...

TFE: Raises an error when attempting to save multiple ResourceVariable objects with the same shared_name.

The only way to get multiple objects is if they're created in different Graphs/IsolateTest contexts. Previously this snuck by because of a list -> dictionary conversion without key checking.

Allows the same object to be passed multiple times (so people don't need to de-duplicate their lists).

PiperOrigin-RevId: 172921932
parent 5c331cfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment