title: How to swich theano.tensor to numpy.array?
body: <p>I have simple codes as shown below:</p>
  
  <pre><code>class testxx(object):
      def __init__(self, input):
          self.input = input
          self.output = T.sum(input)
  a = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]], dtype = np.float32)
  classfier = testxx(a)
  outxx = classfier.output
  outxx = np.asarray(outxx, dtype = np.float32)
  </code></pre>
  
  <p>However, I get the following error information:</p>
  
  <pre><code>ValueError: setting an array element with a sequence.
  </code></pre>
  
  <p>Furthermore, when I use the function of theano.tensor, it seems that what it returns is called "tensor", and I can't simply switch it to the type numpy.array, even though what the result should shape like a matrix.</p>
  
  <p>So that's my question:how can I switch outxx to type numpy.array? </p>