pytorch
2252188e - [caffe2] Fix spatial_batch_norm_op dividision-by-zero crash (#40806)

Commit
4 years ago
[caffe2] Fix spatial_batch_norm_op dividision-by-zero crash (#40806) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40806 When the input is empty, the operator will crash on "runtime error: division by zero". This has been causing Inference platform server crashes. Example crash logs: {P134526683} Test Plan: Unit test See reproducing steps in the Test Plan of D22300135 Reviewed By: houseroad Differential Revision: D22302089 fbshipit-source-id: aaa5391fddc86483b0f3aba3efa7518e54913635
Author
HC Zhu
Parents
Loading