remove unused method

revert-4814-Add_sequence_project_op
qijun 7 years ago
parent 931572e210
commit 4741266d6f

@ -134,17 +134,6 @@ void matmul<platform::CPUPlace, double>(
template struct SetConstant<platform::CPUPlace, float>; 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> template <typename T>
struct SelectedRowsAdd<platform::CPUPlace, T> { struct SelectedRowsAdd<platform::CPUPlace, T> {
void operator()(const platform::DeviceContext& context, void operator()(const platform::DeviceContext& context,

@ -1,5 +1,4 @@
#include "paddle/operators/math/math_function.h" #include "paddle/operators/math/math_function.h"
#include "glog/logging.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
#ifdef PADDLE_WITH_CUDA #ifdef PADDLE_WITH_CUDA

Loading…
Cancel
Save