Closed
Description
Description
Allow arbitrary Op
s to be given names. It's a nice way to keep dprints readable and code tidy. Here's what I imagine:
Before:
x = pt.tensor('x', shape=(None,))
y = pt.tensor('y', shape=(None,))
z = pt.add(x, y)
z.name = 'z'
After:
x = pt.tensor('x', shape=(None,))
y = pt.tensor('y', shape=(None,))
z = pt.add(x, y, name='z')