LayerNormInt8QuantizeFakeNNPI fix to match ICEREF. (#47140)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47140
LayerNorm + Int8Quantize fix to match ICEREF.
(Note: this ignores all push blocking failures!)
Test Plan:
buck test --debug //caffe2/caffe2/contrib/fakelowp/test:test_layernorm_nnpi_fp16nnpi -- test_fused_ln_quantize --print-passing-details
https://internalfb.com/intern/testinfra/testrun/7881299371969005
Reviewed By: hyuen
Differential Revision: D24659904
fbshipit-source-id: 026d1a1f69a68eca662a39752af5ab0756bace2d