"vscode:/vscode.git/clone" did not exist on "ef202789fad6b8a8ab51f4d2ff5450067e3d1f65"
  • Yanghan Wang's avatar
    prepare_for_quant_convert -> custom_covert_fx · 97904ba4
    Yanghan Wang authored
    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
    97904ba4
test_runner_lightning_task.py 8.66 KB