Automated g4 rollback of changelist 185420228
authorSuharsh Sivakumar <suharshs@google.com>
Tue, 13 Feb 2018 00:20:07 +0000 (16:20 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 13 Feb 2018 00:23:29 +0000 (16:23 -0800)
PiperOrigin-RevId: 185453293

tensorflow/contrib/quantize/python/common.py

index 9e76549..3a1fa61 100644 (file)
@@ -114,9 +114,7 @@ def CreateOrGetQuantizationStep():
           dtype=dtypes.int64,
           initializer=init_ops.zeros_initializer(),
           trainable=False,
-          collections=[
-              ops.GraphKeys.GLOBAL_VARIABLES, ops.GraphKeys.MODEL_VARIABLES
-          ])
+          collections=[ops.GraphKeys.GLOBAL_VARIABLES])
       with g.name_scope(quantization_step_tensor.op.name + '/'):
         # We return the incremented variable tensor. Since this is used in conds
         # for quant_delay and freeze_bn_delay, it will run once per graph