File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,14 @@ limitations under the License. */
1515#include " SparseRowMatrix.h"
1616#include " CpuSparseMatrix.h"
1717
18- #include < cmath>
1918#include < algorithm>
2019
2120#include " paddle/utils/Logging.h"
2221
2322#include " SIMDFunctions.h"
2423
25- #include " paddle/utils/Util.h"
2624#include " paddle/utils/Thread.h"
25+ #include " paddle/utils/Util.h"
2726
2827P_DEFINE_bool (allow_inefficient_sparse_update,
2928 false ,
@@ -34,8 +33,6 @@ namespace paddle {
3433const unsigned int SparseRowCpuMatrix::kUnusedId_ = -1U ;
3534
3635void SparseRowCpuMatrix::init (size_t height, size_t width) {
37- // @TODO(yuyang18) Just remove this limit
38- CHECK (simd::vec_check (width)) << width;
3936 height_ = height;
4037 if (!indexDictHandle_) {
4138 indexDictHandle_.reset (new IndexDict);
You can’t perform that action at this time.
0 commit comments