class_docstr: Simple test for matvec, which is sugar on top of matmul.
class_docstr_tok: ["Simple","test","for","matvec",",","which","is","sugar","on","top","of","matmul","."]
code: def testTwoByTwoCase(self):
      a = np.array([[1, 2], [3, 4]])
      b = np.array([5, 6])
      c = math_ops.matvec(a, b)
      self.assertAllEqual((2,), c.shape)
      self.assertAllEqual([5 + 2 * 6, 3 * 5 + 4 * 6], c)
  
imports: import operator
  import numpy
  from tensorflow.python import tf2
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the MatVecTest obj's underlying member method code with example usage: obj.testTwoByTwoCase() without return types