fn
col2im_3d_f32
void col2im_3d_f32(const float * cols, float * dx, int C, int D, int H, int W, int KD, int KH, int KW, int OD, int OH, int OW, int stride_d, int stride_h, int stride_w, int pad_d, int pad_h, int pad_w, int dilation_d, int dilation_h, int dilation_w)Single-precision 3-D col2im fold (gradient transform).
Adjoint of im2col_3d_f32: scatter-accumulates the column-major
gradient back into the volumetric input gradient . Used in the
conv3d backward pass.
Parameters
colsconst float*Column matrix, shape .
dxfloat*Output gradient tensor, shape ; must be zeroed by the caller before this call.
C, D, H, W, KD, KH, KW, OD, OH, OWintShape parameters.
stride_d, stride_h, stride_w, pad_d, pad_h, pad_w, dilation_d, dilation_h, dilation_wintMatch the forward convolution.
Notes
Overlapping receptive fields accumulate by sum.