Add a checkpointable list data structure
authorAllen Lavoie <allenl@google.com>
Wed, 23 May 2018 17:43:28 +0000 (10:43 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 23 May 2018 17:45:45 +0000 (10:45 -0700)
commit7b78417a00e6805557d530c1f1fcc8b2a44d6e2e
tree400694f98f7a31fb946a92384dac0ce201c9d0f9
parentc78d4e8e7e032986789b0755b399b6c9ad274b5d
Add a checkpointable list data structure

Allows tracking of Layers and other checkpointable objects by number.

Fixes #19250.

PiperOrigin-RevId: 197749961
tensorflow/contrib/checkpoint/__init__.py
tensorflow/contrib/checkpoint/python/BUILD
tensorflow/contrib/eager/python/examples/rnn_colorbot/rnn_colorbot.py
tensorflow/contrib/eager/python/examples/rnn_ptb/rnn_ptb.py
tensorflow/python/keras/BUILD
tensorflow/python/keras/engine/network.py
tensorflow/python/training/checkpointable/BUILD
tensorflow/python/training/checkpointable/base.py
tensorflow/python/training/checkpointable/data_structures.py [new file with mode: 0644]
tensorflow/python/training/checkpointable/data_structures_base.py [new file with mode: 0644]
tensorflow/python/training/checkpointable/data_structures_test.py [new file with mode: 0644]