Skip to content
fn

avg_pool3d_backward_f64

void avg_pool3d_backward_f64(const double * g, double * dx, int B, int C, int D, int H, int W, int KD, int KH, int KW, int OD, int OH, int OW, int sd, int sh, int sw, int pd, int ph, int pw, bool count_include_pad)

Double-precision counterpart to avg_pool3d_backward_f32.

Parameters

gconst double*
Upstream gradient of shape (B, C, OD, OH, OW).
dxdouble*
Output gradient of shape (B, C, D, H, W); accumulated.
B, C, D, H, W, KD, KH, KW, OD, OH, OW, sd, sh, sw, pd, ph, pwint
Layout and window parameters matching the forward call.