API symbolsutils
Copy
tensorplay.utils.checkpoint.checkpoint_sequential
- tensorplay.utils.checkpoint.checkpoint_sequential(function: Callable[[...], Any], chunks: int, *args: Any, **kwargs: Any) Any[source]
torch.utils.checkpoint.checkpoint_sequential compatibility.
With
chunkssegments the sequential would be evaluated in chunks with recomputation; TensorPlay runs it as one eager segment.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
