From 47f1031fb7e0644ab2797343f818d32f1c45fa38 Mon Sep 17 00:00:00 2001 From: hedaoyuan Date: Fri, 30 Jun 2017 18:06:49 +0800 Subject: [PATCH] Modify the type of alog parameter. --- paddle/gserver/layers/ExpandConvLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/gserver/layers/ExpandConvLayer.cpp b/paddle/gserver/layers/ExpandConvLayer.cpp index 29e2113afff..af79e65a7c0 100644 --- a/paddle/gserver/layers/ExpandConvLayer.cpp +++ b/paddle/gserver/layers/ExpandConvLayer.cpp @@ -50,7 +50,7 @@ bool ExpandConvLayer::init(const LayerMap &layerMap, .set("paddings", paddings) .set("strides", strides) .set("groups", (size_t)groups_[i]) - .set("algo", "auto")); + .set("algo", std::string("auto"))); } else { createFunction(forward_, !isDeconv_ ? "GemmConv" : "GemmConvGradInput", -- GitLab