pub fn maxpool1d_raw(
data: &[f64],
out: &mut [f64],
data_len: usize,
pool_size: usize,
)Expand description
1D max-pooling with stride equal to pool_size (non-overlapping windows).
ยงArguments
data- Input signal of lengthdata_len.out- Pre-allocated output buffer of lengthdata_len / pool_size.data_len- Length of the input signal.pool_size- Window (and stride) size for pooling.