def Layer.fwd
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
122def Layer.fwd(-P: Type, -X: Type, -Y: Type, -S: Type, l: Layer<P, X, Y, S>, p: P, x: X) -> Fwd<P, Y, S>:
123 match l:
124 case Layer{fwd, bwd, step, zeros, dump, load, store, count}:
125 fwd(p, x)