def Layer.step
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
132def Layer.step(-P: Type, -X: Type, -Y: Type, -S: Type, l: Layer<P, X, Y, S>, +o: Opt, p: P, g: P, st: OptState<P>) -> Step<P>:
133 match l:
134 case Layer{fwd, bwd, step, zeros, dump, load, store, count}:
135 step(o, p, g, st)