Class GradMode
java.lang.Object
io.github.kirstenali.deepj.autograd.GradMode
- All Implemented Interfaces:
AutoCloseable
Thread-local, nestable scope for computations that must not build a backward graph.
-
Method Summary
-
Method Details
-
isEnabled
public static boolean isEnabled() -
noGrad
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-