def assembly
import stelliferous@0.0.2.0/kernel_band_planning.bend as KernelBandPlanningimport Base
import stelliferous@0.0.2.0/tensor_band_window.bend as BandWindow
27# BandWindow.assemble reuses the core exactly when both row ranges agree.
28def assembly(channels: U32,width: U32,first: U32,rows: U32,window_first: U32,+window_rows: U32,byte_ns: F32) -> F32:
29 Bool.pick(F32,U32.is_eq(first,window_first) && U32.is_eq(rows,window_rows),0.0,transfer((channels * window_rows * width : U32),byte_ns))