Open duck-bongos opened 1 month ago
@duck-bongos,
As mentioned here, the input should be (batch, time, features)
and the output should be (batch, features)
. So it seems "channels_last
" is correct.
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.
Issue Type
Documentation Bug
Source
source
Keras Version
2.13.1
Custom Code
No
OS Platform and Distribution
Google Colab
Python version
Python 3
GPU model and memory
N/A
Current Behavior?
The tutorial's (https://keras.io/examples/timeseries/timeseries_classification_transformer/) got a line in it that doesn't match the output network example. This is the line in the 3rd code block:
I copied and pasted the tutorial to play around with and found it returns a network output different than what is expected in the tutorial.
When I changed the line to
The network parameters lined up with the tutorial!
Standalone code to reproduce the issue or tutorial link
Relevant log output