From 7e1c6d1f21325f77a3c562fa584477a6736379c6 Mon Sep 17 00:00:00 2001 From: barrierye Date: Wed, 21 Nov 2018 11:12:01 +0800 Subject: [PATCH] delete finish_binding_memory_(flag), because it can not be marked under the current interface --- paddle/fluid/framework/data_feed.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/framework/data_feed.h b/paddle/fluid/framework/data_feed.h index f37d22b7dc6..f40c16f5c33 100755 --- a/paddle/fluid/framework/data_feed.h +++ b/paddle/fluid/framework/data_feed.h @@ -182,7 +182,7 @@ class DataFeed { virtual void AddFeedVar(Variable* var, const std::string& name); protected: // Check if it is executed in this order: - // Init -> SetFileList/BindingMemory -> Start -> Next + // Init -> SetFileList(BindingMemory) -> Start -> Next virtual void CheckInit(); virtual void CheckSetFileList(); virtual void CheckStart(); @@ -206,7 +206,6 @@ class DataFeed { bool finish_init_; static bool finish_set_filelist_; - bool finish_binding_memory_; bool finish_start_; }; -- GitLab