Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data shape of tcn layer #241

Closed
Alan29535 opened this issue Nov 18, 2022 · 1 comment
Closed

data shape of tcn layer #241

Alan29535 opened this issue Nov 18, 2022 · 1 comment

Comments

@Alan29535
Copy link

I would like to ask what is the output data shape from TCN layers. Currently, I am trying to combine TCN and transformer together. However, I cannot pass the output data of TCN to the transformer directly.
I think it's because the output data shape of TCN is not the same as the input data shape for the transformer.
So could anyone tell me how to check the output data shape of TCN, or please give some suggestions on how to combine TCN and transformer together?

@philipperemy
Copy link
Owner

philipperemy commented Dec 6, 2022

@Alan29535 you should be able to swap the LSTM/GRU and TCN classes.

For the transformers, I haven't used one in Keras so I can't answer your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants