def copies_band

stelliferous@0.0.2.0 · kernel_window.bend:47

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

47# A fork copies the left child's band only when rows are whole eight-position
48# blocks and the band passes its coverage check; otherwise it clones the parent.
49def copies_band(+parent_first: U32,+parent_rows: U32,+height: U32,+kernel: U32,+stride: U32,+padding: U32,+output_width: U32,+offset: U32,+span: U32,
50  +band: Band) -> Bool:
51  U32.is_zero((output_width % 8 : U32)) && covers(parent_first,parent_rows,height,kernel,stride,padding,output_width,offset,span,band)

Uses (7)

Used by (2)