Hi,
Thank you so much for helping me debugging and sorry for the late reply. As suggested by @ricardoV94 , I mixed pytensor and “normal” if..else. pytensor.ifelse.ifelse and pytensor.scan solved my problem.
Hi,
Thank you so much for helping me debugging and sorry for the late reply. As suggested by @ricardoV94 , I mixed pytensor and “normal” if..else. pytensor.ifelse.ifelse and pytensor.scan solved my problem.