TensorBandWindow.start: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_band_window.bend as TensorBandWindow Lines 35-39 of stelliferous@0.0.2.0/tensor_band_window.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_band_window.bend&start_line=35&end_line=39 import Base # The first row a window holds: the first row its outputs read, moved down # to a stride multiple. def start(+height: U32,+output_first: U32,+stride: U32,+padding: U32) -> U32: +needed = U32.min(height,subtract_clipped((output_first * stride : U32),padding)) subtract_clipped(needed,(needed % stride : U32)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.min https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mod https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_band_window.bend&name=subtract_clipped