Sequence Models week 4

I am passing all my tests in the assignment but still failing hidden tests. I dont know what I am doing wrong. Please help.

The most common error in this assignment is not handling the stride value correctly.
The unit tests do not detect this error.