From e5f3435dd55dc9f8286dd203ecb41dbebc6c2c16 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Thu, 28 Feb 2019 12:30:07 +0800 Subject: [PATCH] Add missing headers test=develop --- paddle/fluid/framework/block_desc.cc | 4 ++++ paddle/fluid/imperative/layer.cc | 1 + paddle/fluid/imperative/tracer.cc | 3 +++ 3 files changed, 8 insertions(+) diff --git a/paddle/fluid/framework/block_desc.cc b/paddle/fluid/framework/block_desc.cc index 9f4696830c..0b7aaf1174 100644 --- a/paddle/fluid/framework/block_desc.cc +++ b/paddle/fluid/framework/block_desc.cc @@ -13,7 +13,11 @@ See the License for the specific language governing permissions and limitations under the License. */ #include "paddle/fluid/framework/block_desc.h" + #include +#include +#include + #include "paddle/fluid/framework/operator.h" #include "paddle/fluid/framework/program_desc.h" diff --git a/paddle/fluid/imperative/layer.cc b/paddle/fluid/imperative/layer.cc index 79512d4011..65c1e366c2 100644 --- a/paddle/fluid/imperative/layer.cc +++ b/paddle/fluid/imperative/layer.cc @@ -18,6 +18,7 @@ #include #include #include +#include #include #include "paddle/fluid/framework/lod_tensor.h" diff --git a/paddle/fluid/imperative/tracer.cc b/paddle/fluid/imperative/tracer.cc index 39ed8cab54..682198a99a 100644 --- a/paddle/fluid/imperative/tracer.cc +++ b/paddle/fluid/imperative/tracer.cc @@ -14,7 +14,10 @@ #include "paddle/fluid/imperative/tracer.h" +#include #include +#include +#include #include "paddle/fluid/operators/math/math_function.h" #include "paddle/fluid/platform/device_context.h" -- GitLab