diff options
author | Jianwei Xie <xiejw@google.com> | 2017-03-15 13:22:38 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-03-15 14:47:33 -0700 |
commit | 22b8dae85315448ecc3faaec361466474ffce9f6 (patch) | |
tree | 9dca3f36b0a9ce3384c984654bf5c36755453922 | |
parent | f49f801276154d0f693c5d57db6977a7eb32f017 (diff) |
Adds a deprecated comment for contrib create_global_step
Change: 150241435
-rw-r--r-- | tensorflow/contrib/framework/python/ops/variables.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/contrib/framework/python/ops/variables.py b/tensorflow/contrib/framework/python/ops/variables.py index 85bb2f8056..4f8e266cbe 100644 --- a/tensorflow/contrib/framework/python/ops/variables.py +++ b/tensorflow/contrib/framework/python/ops/variables.py @@ -119,6 +119,8 @@ def get_global_step(graph=None): def create_global_step(graph=None): """Create global step tensor in graph. + This API is deprecated. Use core framework training version instead. + Args: graph: The graph in which to create the global step tensor. If missing, use default graph. |