Hello everyone!
I meet a little trouble here.
Given a matrix, i would like to get the index of minimum value in this
matrix.
For example,
A = T.imatrix('A')
index = A.argmax()
return_index= theano.function([A],index)
Avalue = numpy.arange(9).reshape(3,3)
out = return_index(Avalue)
out is given value 0 instead of (0,0). I would like to get the (0,0)
I am wondering that if there are any build-in function in theano.tensor i
can use?
--
---
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.