nn_avg_pool1d: Applies a 1D average pooling over an input signal composed of several
input planes.
Description
In the simplest case, the output value of the layer with input size \((N, C, L)\),
output \((N, C, L_{out})\) and kernel_size \(k\)
can be precisely described as: