def fork_window

stelliferous@0.0.2.0 · kernel_planning.bend:102

import stelliferous@0.0.2.0/kernel_planning.bend as KernelPlanning
import Base
import stelliferous@0.0.2.0/kernel_window.bend as KernelWindow

102def fork_window(+offset: U32,+half: U32,+window: InputRows,+geometry: Geometry) -> ForkInput:
103  InputRows{+first,+count,+capacity} = window
104  Geometry{+channels,+height,+width,+kernel,+stride,+padding,+output_width} = geometry
105  +band = KernelWindow.band(first,count,height,kernel,stride,padding,output_width,offset,half)
106  +copy = KernelWindow.copies_band(first,count,height,kernel,stride,padding,output_width,offset,half,band)
107  +parent = {InputRows{first,count,capacity} : InputRows}
108  ForkInput{input_bytes(copy,band,parent,channels,width),input_transfer(copy,band,parent,channels,width),left_rows(copy,band,parent,channels,width)}

Uses (9)

Used by (1)