KernelSpatialPacking.read_block_pixel: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/kernel_spatial_packing.bend as KernelSpatialPacking Lines 24-26 of stelliferous@0.0.2.0/kernel_spatial_packing.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/kernel_spatial_packing.bend&start_line=24&end_line=26 import Base def read_block_pixel(input: Array,context: PixelBlock,index: Nat) -> Array & F32: PixelBlock{row,column,channel_base,height,width,+stride} = context pixel(input,row,(column + U32.from_nat(index) * stride : U32),channel_base,height,width) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.from_nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_spatial_packing.bend&name=PixelBlock https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_spatial_packing.bend&name=pixel