diff options
author | 2017-10-23 06:03:28 -0700 | |
---|---|---|
committer | 2017-10-23 06:10:39 -0700 | |
commit | dc13a8e2f7cfd56121347f5596f8b5a770da41c9 (patch) | |
tree | e9e4deac60e2951d5dda16ae0fa1eac1e0b8bd02 /CONTRIBUTING.md | |
parent | eea089bdb66597c9e66180d39b94eea2c17be93e (diff) |
Fix import of meta graphs with partitioned variables into a scope.
Saver inspects SliceInfo to decide the variable name when creating a
checkpoint. Before this fix even if a partitioned variable ("weights")
was imported into a scope "a" it would still be checkpointed as ("weights")
instead of ("a/weights") since import_scoped_meta_graph was not adjusting
the SliceInfo.
WARNING: if you use import_meta_graph on graphs with partitioned_variables WITH an import_scope argument AND then create a Saver to write/read checkpoints this change
may break your checkpoint loading.
PiperOrigin-RevId: 173105796
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions