Skip to content
fn

avg_pool1d_backward_f64

void avg_pool1d_backward_f64(const double * g, double * dx, int B, int C, int L, int KL, int OL, int stride_l, int pad_l, bool count_include_pad)

Double-precision counterpart to avg_pool1d_backward_f32.

Parameters

gconst double*
Upstream gradient of shape (B, C, OL).
dxdouble*
Output gradient of shape (B, C, L); accumulated.
B, C, L, KL, OL, stride_l, pad_lint
Layout and window parameters matching the forward call.