Partial update of tf.keras to the Keras 2.1.6 API.
authorPavithra Vijay <psv@google.com>
Tue, 15 May 2018 04:43:55 +0000 (21:43 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 15 May 2018 04:46:28 +0000 (21:46 -0700)
commitfdf36165090f465cc2464de26c939237c45155a3
tree4ea53ded11170a3c1da02da00fd587766517a8f9
parent0c3603f77a63ef2dece1a7e673d4c442f8c64f00
Partial update of tf.keras to the Keras 2.1.6 API.

Changes included are:
- Fix `batch_dot` when `axes=None`
- Add axis=-1 as an argument to keras.backend.softmax
- Fix ctc_batch_cost() error when batch_size = 1
- Print previous best in ModelCheckpoint callback
- Fix ReduceLROnPlateau callback
- Extend RemoteMonitor to send data as application/json
- Fix default dilation rate value in 2D separable conv.
- Fix for MobileNet model with undefined shape
- Disable require_flatten in nasnet & Add an error message for undefined shape.
- Improve tests by designating dtype of sample data
- Multi_gpu_model supporting legacy/fullCPU/fullGPU

PiperOrigin-RevId: 196615376
18 files changed:
tensorflow/python/keras/_impl/keras/applications/mobilenet.py
tensorflow/python/keras/_impl/keras/applications/nasnet.py
tensorflow/python/keras/_impl/keras/backend.py
tensorflow/python/keras/_impl/keras/backend_test.py
tensorflow/python/keras/_impl/keras/callbacks.py
tensorflow/python/keras/_impl/keras/callbacks_test.py
tensorflow/python/keras/_impl/keras/layers/convolutional.py
tensorflow/python/keras/_impl/keras/layers/normalization_test.py
tensorflow/python/keras/_impl/keras/testing_utils.py
tensorflow/python/keras/_impl/keras/utils/generic_utils.py
tensorflow/python/keras/_impl/keras/utils/multi_gpu_utils.py
tensorflow/python/keras/_impl/keras/utils/np_utils.py
tensorflow/tools/api/golden/tensorflow.keras.backend.pbtxt
tensorflow/tools/api/golden/tensorflow.keras.callbacks.-reduce-l-r-on-plateau.pbtxt
tensorflow/tools/api/golden/tensorflow.keras.callbacks.-remote-monitor.pbtxt
tensorflow/tools/api/golden/tensorflow.keras.layers.-separable-conv2-d.pbtxt
tensorflow/tools/api/golden/tensorflow.keras.layers.-separable-convolution2-d.pbtxt
tensorflow/tools/api/golden/tensorflow.keras.utils.pbtxt