mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Remove OFFLINE_TRAINING from global constant
Summary: This is not a very generic constant Reviewed By: volkhin Differential Revision: D5870378 fbshipit-source-id: 59509bb48cecb52ba4a3f26b290855374547fe7e
This commit is contained in:
parent
0fff025973
commit
7d2b2cae19
1 changed files with 0 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue