Freeze matched bn layers
Summary: Convert the batchnorm layers that match the specified regular expressions to FrozenBatchNorm2d. If module is an instance of batchnorm and it matches the reg exps, returns a new FrozenBatchNorm2d module. Otherwise, in-place converts the matching batchnorm child modules to FrozenBatchNorm2d and returns the main module. Reviewed By: ppwwyyxx Differential Revision: D29286500 fbshipit-source-id: 3a20f5eeff59ddff50c42fe297eedf0ce2b909bc
Showing
Please register or sign in to comment