TensorAccess.Sweep: type of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_access.bend as TensorAccess Lines 148-156 of stelliferous@0.0.2.0/tensor_access.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_access.bend&start_line=148&end_line=156 import Base # Window reduction along one axis. step is the number of elements after the # axis, the same in the input and the output. Output position p keeps its # step offset p % step, lies at coordinate (p / step) % out_extent of the # axis, and folds kernel samples in increasing coordinate from pad; a sample # outside the axis reads pad. origin is the coordinate at which the window of # output coordinate zero starts before padding: zero for a whole axis, the # stored row for the rows of a taller image. type Sweep is Data: Sweep{extent: U32,step: U32,kernel: U32,stride: U32,padding: U32,out_extent: U32,origin: U32} Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32