diff options
author | Ruoxin Sang <rxsang@google.com> | 2018-10-09 15:02:51 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-09 15:06:41 -0700 |
commit | c1093a3757224257fed0f7a1959d0fc99d5c757f (patch) | |
tree | 96c32fa021a1ee16c29173abb382404cc872bfda /tensorflow/contrib/distribute/python/mirrored_strategy.py | |
parent | a6fcb9d3d81e9207650eda1c899051ccbb97dec7 (diff) |
In TPUMirroredVariable, when setting _initializer_op and _initial_value attributes, set the attributes of all the contained variables. This fixes a bug that tf.train.init_from_checkpoint doesn't overwrite the initialization values correctly for TPUMirroredVariable.
PiperOrigin-RevId: 216429476
Diffstat (limited to 'tensorflow/contrib/distribute/python/mirrored_strategy.py')
0 files changed, 0 insertions, 0 deletions