code: def gemv_numpy(o, W, h, iIdx, oIdx):
      for b in range(o.shape[0]):
          for j in range(o.shape[1]):
              outputIdx = oIdx[b, j]
              for i in range(h.shape[1]):
                  inputIdx = iIdx[b, i]
                  w = W[inputIdx, outputIdx]
                  o[b, j, :] += np.dot(h[b, i], w)
      return o
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  from numpy.random import randn
  import theano
  from theano import tensor
  import theano.tests.unittest_tools
  from theano.tensor.nnet.blocksparse import sparse_block_dot, sparse_block_gemv, sparse_block_outer, SparseBlockGemv, SparseBlockOuter
label_desc: Use image node_id 4 for calling the BlockSparse_Gemv_and_Outer obj's underlying member method code with example usage: obj.gemv_numpy(o, W, h, iIdx, oIdx) and returns: o