code: def test_cgemv(self):
      for dtype in ("float32", "float64"):
          for alpha in (0, 1, -2):
              for beta in (0, 1, -2):
                  for transpose_A in (False, True):
                      for slice_tensors in (False, True):
                          self.run_cgemv(
                              dtype,
                              alpha,
                              beta,
                              transpose_A,
                              slice_tensors,
                          )
  
imports: from warnings import warn
  import numpy
  import pytest
  import pytensor
  import pytensor.tensor
  from pytensor.misc.safe_asarray import _asarray
  from pytensor.tensor.basic import AllocEmpty
  from pytensor.tensor.blas import Ger
  from pytensor.tensor.blas_c import CGemv, CGer, check_force_gemv_init
  from pytensor.tensor.blas_scipy import ScipyGer
  from pytensor.tensor.type import dmatrix, dvector, matrix, scalar, tensor, vector
  from tests import unittest_tools
  from tests.tensor.test_blas import BaseGemv, TestBlasStrides
  from tests.unittest_tools import OptimizationTestMixin
label_desc: Use image node_id 5 for calling the TestCGemvNoFlags obj's underlying member method code with example usage: obj.test_cgemv() without return types