nouiz/Theano — comment on commit 9f3c1b9cb31200191c0ae013a6177bd27b657bb8
File:  line 0
By jaberg:

I don't think this is wrong, and I don't know why you wanted to change it.

You have a node n. It has input r. Now we're replacing things, and we'd like to use new_r as an input instead.

We don't care about the shape of r anymore, what we care about is ensuring that we have at least much info about the shape of new_r as we used to have (regarding r). The update_shape should modify *new_r* and who cares about r.