KernelPlanning.fork_window: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/kernel_planning.bend as KernelPlanning Lines 102-108 of stelliferous@0.0.2.0/kernel_planning.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/kernel_planning.bend&start_line=102&end_line=108 import Base import stelliferous@0.0.2.0/kernel_window.bend as KernelWindow def fork_window(+offset: U32,+half: U32,+window: InputRows,+geometry: Geometry) -> ForkInput: InputRows{+first,+count,+capacity} = window Geometry{+channels,+height,+width,+kernel,+stride,+padding,+output_width} = geometry +band = KernelWindow.band(first,count,height,kernel,stride,padding,output_width,offset,half) +copy = KernelWindow.copies_band(first,count,height,kernel,stride,padding,output_width,offset,half,band) +parent = {InputRows{first,count,capacity} : InputRows} ForkInput{input_bytes(copy,band,parent,channels,width),input_transfer(copy,band,parent,channels,width),left_rows(copy,band,parent,channels,width)} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_planning.bend&name=ForkInput https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_planning.bend&name=Geometry https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_planning.bend&name=InputRows https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_planning.bend&name=input_bytes https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_planning.bend&name=input_transfer https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_planning.bend&name=left_rows https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_window.bend&name=band https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_window.bend&name=copies_band