How to input pymc3.Deterministic variables into theano.scan method?

Thank you! It works. I’m confused why it didn’t show any errors when I just input “inp” into scan in the previous version. Could you explain it?