def cell

bendtorch-core@0.1.0.0 · src/tensor/gather.bend:265

import bendtorch-core@0.1.0.0/src/tensor/gather.bend as Gather
import Base

265# A cell past the count is +0.0 padding.
266def cell(+plan: Plan, +at: Nat, state: Array<F32> & Array<U32>, inside: Bool) -> F32 & (Array<F32> & Array<U32>):
267  match inside:
268    case False{}:
269      (0.0, state)
270    case True{}:
271      read(plan, at, state)

Uses (9)

Used by (5)