Move two common utility functions used by training and training_eager classes to...
authorAnjali Sridhar <anjalisridhar@google.com>
Tue, 13 Feb 2018 18:16:03 +0000 (10:16 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 13 Feb 2018 18:20:07 +0000 (10:20 -0800)
commitf0bcd79ba07d7b759f5da2bf39fd5acaee148ba5
tree03bd41db5236e2577610602bb0aa5e80d100f699
parent7ed63563c853ac77f9439a1d367add2ec873bea7
Move two common utility functions used by training and training_eager classes to a utility class.

PiperOrigin-RevId: 185548922
tensorflow/python/keras/_impl/keras/engine/training.py
tensorflow/python/keras/_impl/keras/engine/training_eager.py
tensorflow/python/keras/_impl/keras/engine/training_eager_test.py
tensorflow/python/keras/_impl/keras/engine/training_test.py
tensorflow/python/keras/_impl/keras/utils/generic_utils.py