How to build a TDNN with two data sequence inputs
5 次查看(过去 30 天)
显示 更早的评论
Hello,
I am configuration a TDNN for the communication data. Architecture as below:
There are two data sequences, I and Q, to be fed into the network. I tried timedelaynet. The network, however, seems to accept only one data sequence. Anyone can tell me how to input two parellel data sequence into the timedelaynet? Thanks.
example as below;
net = timedelaynet(1:10,50);
[Xs,Xi,Ai,Ts] = preparets(net,X,T);
net = train(net,Xs,Ts,Xi,Ai);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1188098/image.jpeg)
0 个评论
回答(1 个)
Aditya
2023-9-1
Hello Yi,
To input two parallel data sequences into a ‘timedelaynet’, you can concatenate the two sequences and treat them as a single input sequence. Here's an example of how you can modify your code to achieve this:
X = [I; Q];
This modified input sequence can be used with the ‘preparets’ function to prepare the data for training the ‘timedelaynet’.
For more detailed information on the ‘timedelaynet’ function, you can refer to the documentation provided by MathWorks: https://in.mathworks.com/help/deeplearning/ref/timedelaynet.html
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!