class_docstr: Transforms a vector into a row and a column.
  
  This Op exists to check everything is correct when an Op has
  two outputs with different broadcasting patterns.
class_docstr_tok: ["Transforms","a","vector","into","a","row","and","a","column",".","This","Op","exists","to","check","everything","is","correct","when","an","Op","has","two","outputs","with","different","broadcasting","patterns","."]
code: def perform(self, node, inp, out):
      (v,) = inp
      r, c = out
      lv = v.shape[0]
      if (r[0] is None) or (r[0].shape != (1, lv)):
          r[0] = node.outputs[0].type.value_zeros((1, lv))
  
      if (c[0] is None) or (c[0].shape != (lv, 1)):
          c[0] = node.outputs[1].type.value_zeros((lv, 1))
  
      for i in range(lv):
          r[0][0, i] = v[i]
          c[0][i, 0] = v[i]
  
imports: from __future__ import absolute_import, print_function, division
  import sys
  import unittest
  from nose.plugins.skip import SkipTest
  import numpy
  from six import reraise
  from theano import config
  from theano import gof
  import theano
  from theano.compat import exc_message
  from theano.compile import debugmode
  import theano.tensor
  from theano.tests import unittest_tools
label_desc: Use image node_id 2 for calling the VecAsRowAndCol obj's underlying member method code with example usage: obj.perform(node, inp, out) without return types