From a5f0081c3d7a6921eaabdce44f5ec8a8fbe3bb7b Mon Sep 17 00:00:00 2001 From: liaogang Date: Wed, 2 Aug 2017 23:12:20 +0800 Subject: [PATCH] remove unroll --- paddle/framework/eigen.h | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/framework/eigen.h b/paddle/framework/eigen.h index 85006bb16ee..a4667cc51fa 100644 --- a/paddle/framework/eigen.h +++ b/paddle/framework/eigen.h @@ -28,7 +28,6 @@ struct EigenDim { static Type From(const DDim& dims) { PADDLE_ENFORCE(arity(dims) == D, "D must match arity(DDim)"); Type ret; -#pragma unroll for (int d = 0; d < arity(dims); d++) { ret[d] = dims[d]; } -- GitLab