Skip to content

Commit 0d70231

Browse files
committed
add check
1 parent c84fc6d commit 0d70231

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/paddle/fluid/executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def run(self,
261261
fetch_var_names = [var.desc.name() for var in fetch_list]
262262
program_cache_key = str(feed_var_names + fetch_var_names)
263263
program_cache = self.program_caches.get(program_cache_key, None)
264+
# TODO(qiao): Should check program_cache and program are exactly the same.
264265

265266
if program_cache is None:
266267
program_cache = program.clone()

0 commit comments

Comments
 (0)