def block_in

bendtorch@1.3.0.0 · main.bend:2534

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

2534# a t x c block into dst's rows r0.. and columns c0.. (dst ow wide); the block is dropped
2535def block_in(+t: Nat, +c: Nat, +ow: Nat, +r0: Nat, +c0: Nat, blk: Array<F32>, dst: Array<F32>) -> Array<F32>:
2536  cols_in(t, c, U32.from_nat(ow), U32.from_nat(Nat.add(Nat.mul(r0, ow), c0)), blk, dst)

Uses (7)

Used by (2)