philipperemy/keras-tcn

data shape of tcn layer

Alan29535 opened this issue · 1 comments

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?

@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.