Class BackwardBuffers
java.lang.Object
io.github.kirstenali.deepj.tensor.BackwardBuffers
- All Implemented Interfaces:
AutoCloseable
Internal lifetime tracking for non-escaping buffers produced by library backward rules.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BackwardBuffersbegin()<T> Tvoidclose()voidvoidReleases this private computation's scratch without invalidating unrelated caller tensors.
-
Method Details
-
begin
-
capture
-
expose
-
releaseTemporaryResources
public void releaseTemporaryResources()Releases this private computation's scratch without invalidating unrelated caller tensors. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-