提交 74dbbca7 编写于 作者: H hjchen2

Fix code style

上级 779a560c
...@@ -12,12 +12,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -12,12 +12,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. */ limitations under the License. */
#include "framework/executor.h"
#include <algorithm> #include <algorithm>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "common/enforce.h" #include "common/enforce.h"
#include "common/log.h" #include "common/log.h"
#include "memory/t_malloc.h"
#include "framework/context.h" #include "framework/context.h"
#include "framework/framework.pb-c.h" #include "framework/framework.pb-c.h"
#include "framework/lod_tensor.h" #include "framework/lod_tensor.h"
...@@ -27,7 +27,7 @@ limitations under the License. */ ...@@ -27,7 +27,7 @@ limitations under the License. */
#include "framework/program/var_desc.h" #include "framework/program/var_desc.h"
#include "framework/scope.h" #include "framework/scope.h"
#include "framework/tensor.h" #include "framework/tensor.h"
#include "framework/executor.h" #include "memory/t_malloc.h"
#include "pass/memory_optimize.h" #include "pass/memory_optimize.h"
#ifdef PADDLE_MOBILE_CL #ifdef PADDLE_MOBILE_CL
#include "framework/cl/cl_image.h" #include "framework/cl/cl_image.h"
......
...@@ -91,8 +91,6 @@ void MemoryOptPass::operator()(const framework::ProgramDesc *program, ...@@ -91,8 +91,6 @@ void MemoryOptPass::operator()(const framework::ProgramDesc *program,
} }
} }
DLOG << "analysis_nodes_ size: " << analysis_nodes_.size();
// apply optimize // apply optimize
while (!analysis_nodes_.empty()) { while (!analysis_nodes_.empty()) {
auto *node = analysis_nodes_.top(); auto *node = analysis_nodes_.top();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册