未验证 提交 efc2ac95 编写于 作者: J Jiabin Yang 提交者: GitHub

Merge pull request #13527 from JiabinYang/mac/fix_mac_compile

fix roi_perspective_transform_op.cc unused variable caused error on Mac
...@@ -23,8 +23,6 @@ namespace operators { ...@@ -23,8 +23,6 @@ namespace operators {
using Tensor = framework::Tensor; using Tensor = framework::Tensor;
using LoDTensor = framework::LoDTensor; using LoDTensor = framework::LoDTensor;
static constexpr int kROISize = 4;
template <typename T> template <typename T>
bool GT_E(T a, T b) { bool GT_E(T a, T b) {
return (a > b) || fabs(a - b) < 1e-4; return (a > b) || fabs(a - b) < 1e-4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册