I added a following syntax to execute theano.printing.Print. (cce is return
value of theano.scan. Therefore, it is not symbolic vaiable. Maybe.)
x = theano.tensor.tensor3()
t_print =theano.printing.Print("cce value is : ")(x)
f = theano.function([x], t_print)_
f(cce)
Then, Following Error Occured
TypeError: ('Bad input argument to theano function with name
"seq2seq.py : 98" at index 0(0-based)', 'Expected an array-like object,
but found a Variable: maybe you are trying to call a function on a
(possibly shared) variable instead of a numeric array?')
Could you possibly let me know how to correct this code to print
value(Value of TensorVariable) of cce. Thank you for reading my question.
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.