# Question about week 1 - Sampling Novel Sequence

**URL:** <https://community.deeplearning.ai/t/question-about-week-1-sampling-novel-sequence/799151>\
**Category:** Sequence Models\
**Tags:** week-module-1, coursera-platform\
**Created:** [April 11, 2025, 4:15pm UTC](https://community.deeplearning.ai/t/question-about-week-1-sampling-novel-sequence/799151 "2025-04-11T16:15:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mangosteen](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@Mangosteen](https://community.deeplearning.ai/u/Mangosteen)\
**Post date:** [April 11, 2025, 4:15pm UTC](https://community.deeplearning.ai/t/question-about-week-1-sampling-novel-sequence/799151/1 "2025-04-11T16:15:10Z")

</div>

Near the right bottom part, is the notation yhat(Tx-1) correct? Should it be yhat(Ty-1)?

 ![image](https://global.discourse-cdn.com/dlai/original/3X/9/3/935c9dda47489ed286e38e7c186c3a28904f99b7.jpeg)

---

<div class="post-metadata">

**Author:** ![balaji.ambresh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/balaji.ambresh/32/128697_2.png) [@balaji.ambresh](https://community.deeplearning.ai/u/balaji.ambresh)\
**Post date:** [April 11, 2025, 4:45pm UTC](https://community.deeplearning.ai/t/question-about-week-1-sampling-novel-sequence/799151/2 "2025-04-11T16:45:11Z")

</div>

1. `x<t>` refers to input to the model at time `t`.
2. `y<t>` refers to model output based on input at time `t`.

Since both of `x` and `y` share the same time index `t`, either notation looks okay to me. They convey the same point that after the 1st model input i.e `x<1>`, output from previous timestep becomes the model input at the current timestep.
