def ts3

bendtorch@1.3.0.0 · main.bend:936

import bendtorch@1.3.0.0/main.bend as Bendtorch
import Base

936def ts3(~P: Type, ~X: Type, ~Y: Type, ~S: Type, ~m: Layer<P, X, Y, S>, +cfg: OptCfg, p: P, s: S, g: P, st: OptState<P>, +p1: F32, +p2: F32, r: LossOut<Y>) -> Train<P>:
937  match r:
938    case LossOut{l, dy}:
939      ts4(~P, ~X, ~Y, ~S, ~m, cfg, st, p1, p2, l, Layer.bwd(P, X, Y, S, m, p, s, dy, g))

Uses (8)

Used by (1)