def Layer.store

bendtorch@1.3.0.0 · main.bend:153

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

153# The parameters copied into xs from an element offset, in dump order (load's inverse); xs and the next offset come back.
154def Layer.store(-P: Type, -X: Type, -Y: Type, -S: Type, l: Layer<P, X, Y, S>, p: P, xs: Array<F32>, off: U32) -> PA<P>:
155  match l:
156    case Layer{fwd, bwd, step, zeros, dump, load, store, count}: store(p, xs, off)

Uses (5)

Used by (10)