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

Method _get_ctx_cache

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

Source from the content-addressed store, hash-verified

1357 return self.scope_caches.get(program_cache_key, None)
1358
1359 def _get_ctx_cache(self, program_cache_key):
1360 return self.ctx_caches.get(program_cache_key, None)
1361
1362 def _get_trainer_cache(self, program_cache_key):
1363 return self.trainer_caches.get(program_cache_key, None)

Callers 1

_prepare_pipeline_ctxMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected