def column_step

stelliferous@0.0.2.0 · kernel_spatial_packing.bend:82

import stelliferous@0.0.2.0/kernel_spatial_packing.bend as KernelSpatialPacking
import Base

82def column_step(~block: Block(),state: RowTiles()) -> RowTiles():
83  RowTile{input,output,index,+channel,+kernel_row,+kernel_column,+row,+offset,+output_width,+height,+width,+stride,+padding,taps} = state
84  store_block(output,index,channel,kernel_row,kernel_column,row,offset,output_width,height,width,stride,padding,taps,
85    block(input,(row * stride + kernel_row - padding : U32),(offset * stride + kernel_column - padding : U32),(channel * height * width : U32),height,width,stride,
86      ((row + 1) * stride + kernel_row - padding : U32),offset,output_width,kernel_column,padding))

Uses (8)

Used by (4)