I am confused on how stride and filter size interact. Is the output of a convolution layer the largest tensor such that the filter can fit completely within the input?

Ex, consider A = [0,1,2,3,4,5,6,] and L = conv1d(1,1,3, stride=2)

What will the size of L(A) be?

Will the filter stop at 4 since applying it starting at A[7] will result in the filter going out of bounds?