Checkpointable: Add UniqueNameTracker for managing dependencies on arbitrarily named...
authorAllen Lavoie <allenl@google.com>
Fri, 11 May 2018 21:45:36 +0000 (14:45 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 11 May 2018 21:48:25 +0000 (14:48 -0700)
commita8dbfc607ecaa54b032573a0c7033cb4c9d033a2
treedc5970056d4a8e32d1d7732d0ff7b03c28f707fe
parentddb8fe491faccfdf219a5d9b7ba959c98ae38f33
Checkpointable: Add UniqueNameTracker for managing dependencies on arbitrarily named objects

Makes generating object-unique dependency names easier, which will hopefully discourage people from using Graph-global names with Checkpointable.

PiperOrigin-RevId: 196311633
tensorflow/contrib/checkpoint/__init__.py
tensorflow/contrib/checkpoint/python/BUILD
tensorflow/contrib/checkpoint/python/containers.py [new file with mode: 0644]
tensorflow/contrib/checkpoint/python/containers_test.py [new file with mode: 0644]