Skip to content

Commit

Permalink
NNPI op mapping correct SpatialBN NNPI op name (pytorch#34176)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#34176

Wrong operator name for the NNPI SpatialBN

Test Plan: flow canary

Reviewed By: hyuen

Differential Revision: D20237933

fbshipit-source-id: dfde658dcbf2482320e36d549f7d83c27df264a0
  • Loading branch information
amylittleyang authored and facebook-github-bot committed Mar 4, 2020
1 parent a19db54 commit 7c20578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caffe2/opt/custom/fakefp16_transform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::unordered_map<std::string, std::string> getFakeFp16OpMapping(
"SparseLengthsMeanFused8BitRowwiseFakeFP16AccFP16"},
{"BatchMatMul", "BatchMatMulFP16Acc32Fake"},
{"Sigmoid", "SigmoidFakeFp16"},
{"SpatialBN", "SpatialBNFakeFp16Op"},
{"SpatialBN", "SpatialBNFakeFp16NNPI"},
{"Tanh", "TanhFakeFp16"},
{"Relu", "ReluFakeFp16"},
{"Add", "AddFakeFp16"},
Expand Down

0 comments on commit 7c20578

Please sign in to comment.