Given a matrix A and a vector B, I want to transform the value in A to its 
index in B.
e.g. A=[[1,2],[2,5]], B=[1,2,3,4,5], so the desired result is A'=[[0,1], 
[1,4]], since B[0]=1, B[1]=2, B[4]=5
How to achieve  the function by a basic operation?


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 
For more options, visit

Reply via email to