def target

stelliferous@0.0.2.0 · tensor_cursor.bend:119

import stelliferous@0.0.2.0/tensor_cursor.bend as TensorCursor
import Base
import stelliferous@0.0.2.0/traversal_array.bend as Traversal

119# The address a scatter stores at, with the cursor of the next element.
120def target(cursor: Cursor) -> Traversal.Target<Cursor>:
121  Cursor{axes,+address} = cursor
122  Traversal.Target{advance(axes,address),address}

Uses (3)

Used by (2)