02-23-2020 11:15 AM
@NAGINENI wrote:
Thank you for your valuable inputs.
00,01,02,03,04,05,06,07
08, ..
16, ...
24,25,26,27,28,29,30,31
What result are you expecting?
Suppose if I delayed by 4 values, I am expecting
00,00,00,00,00,01,02,03
04,.
12,..
20,21,22,23,24,25,26,27.
But that's exactly what my code is doing. No need for loops or feedback nodes:
02-23-2020 11:29 AM
Also, if you really want to use the feedback node (why???), here's how to do it without reshaping to 1D:
02-23-2020 11:38 AM - edited 02-23-2020 11:54 AM
Note that it is sufficient to initialize with a scalar. Same difference.
(You only need an array if the elements should differ. If the array is too short, the last valid element will be reused for the correct delay length)