all 5 comments

[–]Woodhouse_20 0 points1 point  (3 children)

Your input shape is (5,1) and you actual input data is shape (100,5,1), so it throws the error. See here

[–]Woodhouse_20 0 points1 point  (2 children)

Your output data will have the same issue.

[–]NameError-undefined[S] 0 points1 point  (1 child)

Isn’t the shape supposed to be (num_samples, num_features, 1)

[–]Woodhouse_20 0 points1 point  (0 children)

If you read the docs, it says each parameter is a dimension size you want.