MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / _add_pruned_program_cache

Method _add_pruned_program_cache

python/paddle/base/executor.py:1374–1375  ·  view source on GitHub ↗
(self, program_cache_key, program)

Source from the content-addressed store, hash-verified

1372 return self.pruned_program_caches.get(program_cache_key, None)
1373
1374 def _add_pruned_program_cache(self, program_cache_key, program):
1375 self.pruned_program_caches[program_cache_key] = program
1376
1377 def _get_pruned_program_scope_cache(self, program_cache_key):
1378 return self.pruned_program_scope_caches.get(program_cache_key, None)

Callers 1

_run_implMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected