In C4_W2_Lab2_single_layer_NN what is the point for "window_size + 1"

[code removed - moderator]
Hi, I just wondering why we need to +1 to window_size?? The explanation is not clear to me, Can someone help?

The model takes windows_size data points as inputs and generates 1 output. Hence the +1. Please move your post to Tensorflow Developer Professional course 4 week 2

I am new here. How can I move the post?

Click on the pencil icon on the post title and click the topic to assign a new topic. Save your changes by clicking the tick mark.

Yes, Thanks sir. The post is relocated now.