I am trying to build my model using a cost function based on eigenvalues of 
a symmetric (or possibly Hermitian) matrix. I get the eigenvalues using  
theano.tensor.nlinalg.eigh (and I tried theano.tensor.slinalg.eigvalsh with 
similar results), but when I try to take the gradient of the cost with 
respect to two shared variables, I get the error
TypeError: Eigh{UPLO='L'}.grad illegally  returned an integer-valued 
variable. (Input index 0, dtype complex128)
I verified that cost and the shared variables have type float64, so where 
is the complex128 coming from?

-- 

--- 
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.

Reply via email to