aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/linear_optimizer
diff options
context:
space:
mode:
authorGravatar Jianwei Xie <xiejw@google.com>2018-03-29 10:50:46 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-29 10:52:55 -0700
commit63dffd5a3bc4e94e74cb140cbf7a68e0e5644ad6 (patch)
tree087e334cd7e71d44cdcd1ce5ebab483768fcf474 /tensorflow/contrib/linear_optimizer
parent9fbb5b3b8fef1caa2ee2ca4a0f8dde900d1f2aa5 (diff)
Automated g4 rollback of changelist 190858242
PiperOrigin-RevId: 190953197
Diffstat (limited to 'tensorflow/contrib/linear_optimizer')
-rw-r--r--tensorflow/contrib/linear_optimizer/python/sdca_estimator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/linear_optimizer/python/sdca_estimator.py b/tensorflow/contrib/linear_optimizer/python/sdca_estimator.py
index 05794a42c5..d4e54c82f9 100644
--- a/tensorflow/contrib/linear_optimizer/python/sdca_estimator.py
+++ b/tensorflow/contrib/linear_optimizer/python/sdca_estimator.py
@@ -140,8 +140,8 @@ def sdca_model_fn(features, labels, mode, params, config=None):
parent_scope = "linear"
- with variable_scope.variable_op_scope(features.values(),
- parent_scope) as scope:
+ with variable_scope.variable_scope(
+ values=features.values(), name_or_scope=parent_scope) as scope:
features = features.copy()
features.update(layers.transform_features(features, feature_columns))
logits, columns_to_variables, bias = (