def Layer.fwd

bendtorch@1.3.0.0 · main.bend:122

import bendtorch@1.3.0.0/main.bend as Bendtorch
import 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)

Uses (2)

Used by (15)