prepare_for_quant_convert -> custom_covert_fx
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/325 `prepare_for_quant_convert` is a confusing name because it only does `convert`, there's no "prepare" in it. It's actually for fx only, because eager mode always calls `torch.quantization.convert`, there's no way to customize it. So just call this `custom_convert_fx`. The new name is also unique in fbcode, so easy to do codemod later on. This diff simply does the renaming by biggrep + replace. Reviewed By: jerryzh168 Differential Revision: D37676717 fbshipit-source-id: e7d05eaafddc383dd432986267c945c8ebf94df4
Showing
Please register or sign in to comment