forked from tensorflow/tensorflow
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tf_saved_model: Disallow duplicate bound inputs.
This is a useful invariant because (together with a local check that resource Value's are not passed twice in the same argument list to e.g. a called function) guarantees that resource variables don't alias in a module with tf_saved_model semantics. PiperOrigin-RevId: 282003375 Change-Id: I7ba0dbda9a6ee3c734b4503fc7f68b09b505a758
- Loading branch information
1 parent
2f889d7
commit f44a805
Showing
2 changed files
with
56 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters