fn
avg_pool2d_backward_f64
void avg_pool2d_backward_f64(const double * g, double * dx, int B, int C, int H, int W, int KH, int KW, int OH, int OW, int stride_h, int stride_w, int pad_h, int pad_w)Double-precision counterpart to avg_pool2d_backward_f32.
Parameters
gconst double*Upstream gradient of shape
(B, C, OH, OW).dxdouble*Output gradient of shape
(B, C, H, W); accumulated.B, C, H, W, KH, KW, OH, OW, stride_h, stride_w, pad_h, pad_wintLayout and window parameters matching the forward call.