pytorch
bc72add5 - [2] remove caffe2 math.h from maskrcnn ops

Commit
2 years ago
[2] remove caffe2 math.h from maskrcnn ops Summary: caffe2/utils/math.h depends on protobuf which is not needed for pytorch, so we want to get rid of it. It turns out maskrcnn ops only need the StorageOrder enum from math.h, so just copy it. Test Plan: buck build //xplat/caffe2/fb/custom_ops/maskrcnn:maskrcnnAndroid#android-armv7,shared buck build //xplat/caffe2/fb/custom_ops/maskrcnn:maskrcnn_aabbAndroid#android-armv7,shared buck build //xplat/caffe2/fb/custom_ops/maskrcnn:maskrcnn_int8Android#android-armv7,shared Differential Revision: D35624743 Pull Request resolved: https://github.com/pytorch/pytorch/pull/75760 Approved by: https://github.com/malfet
Author
Committer
Parents
Loading