title: Returning the index of a value in Theano vector
body: <p>What is the procedure in Theano for returning the index of a particular value in a Vector? In NumPy, this would be <code>numpy.where(my_array==x)</code>. Theano's <code>Tensor.where</code> is a switch statement.</p>