pytorch
5ac3df77 - Minor fix and turn off fold_convbn (#27403)

Commit
5 years ago
Minor fix and turn off fold_convbn (#27403) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/27403 In fold_convbn pass, we need to recompute the parameter(weight, bias) for conv, update the attribute of conv and update the access of bias in conv because if the original conv have no bias, the `self.bias` access will be inline and replaced by Constant node `None = prim::Constant()`, we need to update this to use `GetAttr[name="bias"]` to make this work. But there is also some work going on the handle constants, so we'll fix this pass after that is done. Test Plan: . Imported from OSS Differential Revision: D18182918 fbshipit-source-id: bba510bc41ab58e0eb76f7b77335b6e3ffe2862d
Author
Parents
Loading