提交 4741266d 编写于 作者: Q qijun

remove unused method

上级 931572e2
......@@ -134,17 +134,6 @@ void matmul<platform::CPUPlace, double>(
template struct SetConstant<platform::CPUPlace, float>;
namespace detail {
size_t FindPos(const std::vector<int64_t>& rows, int64_t value) {
for (size_t i = 0; i < rows.size(); i++) {
if (rows[i] == value) {
return i;
}
}
return 0;
}
} // namespace detail
template <typename T>
struct SelectedRowsAdd<platform::CPUPlace, T> {
void operator()(const platform::DeviceContext& context,
......
#include "paddle/operators/math/math_function.h"
#include "glog/logging.h"
#include "gtest/gtest.h"
#ifdef PADDLE_WITH_CUDA
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册