def read_block_pixel
import stelliferous@0.0.2.0/kernel_spatial_packing.bend as KernelSpatialPackingimport Base
24def read_block_pixel(input: Array<F32>,context: PixelBlock,index: Nat) -> Array<F32> & F32:
25 PixelBlock{row,column,channel_base,height,width,+stride} = context
26 pixel(input,row,(column + U32.from_nat(index) * stride : U32),channel_base,height,width)