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

Method _get_pruned_program_cache

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

Source from the content-addressed store, hash-verified

1369 self.program_caches[program_cache_key] = program
1370
1371 def _get_pruned_program_cache(self, program_cache_key):
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

Callers 1

_run_implMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected