Gather.cell_at: def of bendtorch-core@0.1.0.0 Import: import bendtorch-core@0.1.0.0/src/tensor/gather.bend as Gather Lines 313-318 of bendtorch-core@0.1.0.0/src/tensor/gather.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-core@0.1.0.0/src/tensor/gather.bend&start_line=313&end_line=318 import Base # The gradient cells (o, k, r), (o, k + 1, r), ... for `left` more k, added # to acc in increasing k. # Gradient cell (o, k, r) and the index slot it reads. def cell_at(+plan: Plan, +o: Nat, +k: Nat, +r: Nat) -> Nat: Plan{+kind, +outer, +extent, +inner, +length} = plan position(length, inner, o, k, r) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/gather.bend&name=Plan https://jend.leeeet.dev/definition.txt?path=bendtorch-core@0.1.0.0/src/tensor/gather.bend&name=position