提交 26fcb35d 编写于 作者: L liuqi

Code format.

上级 247e22c7
......@@ -195,7 +195,6 @@ struct ProposalFunctor {
proposals[sanc_idx][3] = std::max<float>(
std::min<float>(pred_ctr_y + pred_h / 2, im_height),
0);
}
}
}
......
......@@ -5,6 +5,9 @@
#ifndef MACE_KERNELS_PSROI_ALIGN_H_
#define MACE_KERNELS_PSROI_ALIGN_H_
#include <algorithm>
#include <vector>
#include "mace/core/future.h"
#include "mace/core/tensor.h"
#include "mace/public/mace.h"
......@@ -169,7 +172,7 @@ struct PSROIAlignFunctor {
const int group_size_;
};
} // namepsace kernels
} // namespace mace
} // namespace kernels
} // namespace mace
#endif // MACE_KERNELS_PSROI_ALIGN_H_
#endif // MACE_KERNELS_PSROI_ALIGN_H_
......@@ -4,7 +4,6 @@
#include "mace/core/operator.h"
#include "mace/ops/ops_test_util.h"
#include <fstream>
namespace mace {
namespace ops {
......@@ -54,7 +53,6 @@ TEST_F(ProposalOpTest, CPUSimple) {
auto expected_tensor = CreateTensor<float>({1, 1, 1, 5}, {0, 0, 0, 255, 255});
ExpectTensorNear<float>(*expected_tensor, *net.GetTensor("Output"), 1e-5);
}
......
......@@ -38,7 +38,7 @@ class PSROIAlignOp : public Operator<D, T> {
OP_OUTPUT_TAGS(OUTPUT);
};
} // namespace ops
} // namespace mace
} // namespace ops
} // namespace mace
#endif // MACE_OPS_PSROI_ALIGN_H_
#endif // MACE_OPS_PSROI_ALIGN_H_
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册