public class PtGradientCollector
extends java.lang.Object
implements ai.djl.training.GradientCollector
PtGradientCollector
is the PyTorch implementation of GradientCollector
.Constructor and Description |
---|
PtGradientCollector() |
Modifier and Type | Method and Description |
---|---|
void |
backward(ai.djl.ndarray.NDArray target) |
void |
close() |