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

Method _add_trainer_cache

python/paddle/base/executor.py:1386–1387  ·  view source on GitHub ↗
(self, trainer_cache_key, ctx)

Source from the content-addressed store, hash-verified

1384 self.ctx_caches[ctx_cache_key] = ctx
1385
1386 def _add_trainer_cache(self, trainer_cache_key, ctx):
1387 self.trainer_caches[trainer_cache_key] = ctx
1388
1389 def _add_scope_cache(self, scope_cache_key, scope):
1390 self.scope_caches[scope_cache_key] = scope

Callers 1

_run_from_datasetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected