We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 338f888 commit c84fc6dCopy full SHA for c84fc6d
python/paddle/fluid/executor.py
@@ -261,10 +261,6 @@ def run(self,
261
fetch_var_names = [var.desc.name() for var in fetch_list]
262
program_cache_key = str(feed_var_names + fetch_var_names)
263
program_cache = self.program_caches.get(program_cache_key, None)
264
- if program_cache is not None:
265
- # TODO: should make sure program and program_cache are exactly the same.
266
- if program.desc != program_cache.desc:
267
- program_cache = None
268
269
if program_cache is None:
270
program_cache = program.clone()
0 commit comments