From 7d2b2cae192a10ba60cf52af9e98ef009e8def46 Mon Sep 17 00:00:00 2001 From: Kittipat Virochsiri Date: Wed, 20 Sep 2017 11:50:01 -0700 Subject: [PATCH] Remove OFFLINE_TRAINING from global constant Summary: This is not a very generic constant Reviewed By: volkhin Differential Revision: D5870378 fbshipit-source-id: 59509bb48cecb52ba4a3f26b290855374547fe7e --- caffe2/python/layer_model_helper.py | 1 - 1 file changed, 1 deletion(-) 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: