type Step
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
98# what an optimizer step returns: the new parameters, the zeroed gradient, the optimizer state
99type Step<-P: Type> is Type:
100 Step{p: P, g: P, st: OptState<P>}
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
98# what an optimizer step returns: the new parameters, the zeroed gradient, the optimizer state
99type Step<-P: Type> is Type:
100 Step{p: P, g: P, st: OptState<P>}