def cell
import bendtorch-core@0.1.0.0/src/tensor/gather.bend as Gatherimport 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)