From 22b8dae85315448ecc3faaec361466474ffce9f6 Mon Sep 17 00:00:00 2001 From: Jianwei Xie Date: Wed, 15 Mar 2017 13:22:38 -0800 Subject: [PATCH] Adds a deprecated comment for contrib create_global_step Change: 150241435 --- tensorflow/contrib/framework/python/ops/variables.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow/contrib/framework/python/ops/variables.py b/tensorflow/contrib/framework/python/ops/variables.py index 85bb2f80560..4f8e266cbe0 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. -- GitLab