diff --git a/caffe2/python/layer_model_helper.py b/caffe2/python/layer_model_helper.py index fd2e38a5c89..285d36d9ff3 100644 --- a/caffe2/python/layer_model_helper.py +++ b/caffe2/python/layer_model_helper.py @@ -116,7 +116,6 @@ class LayerModelHelper(model_helper.ModelHelper): self.add_global_constant('ONE', 1.0) self.add_global_constant('ZERO', 0.0) self.add_global_constant('ZERO_RANGE', [0, 0], dtype='int32') - self.add_global_constant('OFFLINE_TRAINING', True, dtype='bool') def _add_global_constants(self, init_net): for initializer_op in self.global_constant_initializers: