Printing expressions of variables in Theano

If I want to print some variable for debugging in theano, it is easy, just write
x = printing.Print('x is: ')(x).
But what if I want to print some expression of x, for example x+y. How can I do it?

Source: python

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.