def input_bytes
import stelliferous@0.0.2.0/kernel_planning.bend as KernelPlanningimport Base
import stelliferous@0.0.2.0/kernel_window.bend as KernelWindow
90# As in the pipelines: a checked band over aligned rows is copied and the
91# second half keeps the parent; otherwise the parent owner is cloned.
92def input_bytes(copy: Bool,+band: KernelWindow.Band,+window: InputRows,+channels: U32,+width: U32) -> Nat:
93 match copy:
94 case False{}: clone_bytes(window)
95 case True{}: band_bytes(band,channels,width)