Skip to content
fn

max_pool1d_forward_f64

void max_pool1d_forward_f64(const double * x, double * y, int * argmax, int B, int C, int L, int KL, int OL, int stride_l, int pad_l)

Double-precision counterpart to max_pool1d_forward_f32.

Parameters

xconst double*
Input tensor of shape (B, C, L).
ydouble*
Output tensor of shape (B, C, OL).
argmaxint32_t*
Winning L-axis indices, shape (B, C, OL).
B, C, L, KL, OL, stride_l, pad_lint
Same meaning as in max_pool1d_forward_f32.