def pixel_block

stelliferous@0.0.2.0 · kernel_packing_samples.bend:27

import stelliferous@0.0.2.0/kernel_packing_samples.bend as KernelPackingSamples
import Base

27def pixel_block(position: U32,+reduction: U32,+height: U32,+width: U32,+kernel: U32,stride: U32,padding: U32,output_width: U32) -> PixelBlock:
28  PixelBlock{position,(reduction / kernel % kernel : U32),(reduction % kernel : U32),
29    (reduction / (kernel * kernel) * height * width : U32),height,width,stride,padding,output_width}

Uses (5)

Used by (2)