API reference
latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.utils.checkpoint API
Functions 6
checkpoint_sequential
functionFull reference ↗checkpoint
functionFull reference ↗- tensorplay.utils.checkpoint.checkpoint(function: Callable[[...], Any] | None = None, *args: Any, use_reentrant: bool | None = None, preserve_rng_state: bool = True, context_fn: Callable[[], Any] | None = None, determinism_check: str = 'default', debug: bool = False, early_stop: bool | None = None, respect_saved_tensors_hooks: bool | None = None, **kwargs: Any) Any[source]
create_selective_checkpoint_contexts
functionFull reference ↗set_checkpoint_debug_enabled
functionFull reference ↗set_checkpoint_early_stop
functionFull reference ↗set_device_states
functionFull reference ↗Classes 3
CheckpointPolicy
classFull reference ↗- class tensorplay.utils.checkpoint.CheckpointPolicy(*values)[source]
GraphExecGroup
classFull reference ↗- class tensorplay.utils.checkpoint.GraphExecGroup[source]
SelectiveCheckpointContext
classFull reference ↗Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

