class_docstr: Tests of CGemv specifically.
  
  Generic tests of Gemv-compatibility, including both dtypes are
  done below in TestCGemvFloat32 and TestCGemvFloat64
class_docstr_tok: ["Tests","of","CGemv","specifically",".","Generic","tests","of","Gemv-compatibility",",","including","both","dtypes","are","done","below","in","TestCGemvFloat32","and","TestCGemvFloat64"]
code: def test_nan_beta_0(self):
      mode = self.mode.including()
      mode.check_isfinite = False
      f = theano.function(
          [self.A, self.x, self.y, self.a],
          self.a * self.y + theano.dot(self.A, self.x),
          mode=mode,
      )
      Aval = np.ones((3, 1), dtype=self.dtype)
      xval = np.ones((1,), dtype=self.dtype)
      yval = float("NaN") * np.ones((3,), dtype=self.dtype)
      zval = f(Aval, xval, yval, 0)
      assert not np.isnan(zval).any()
  
imports: from __future__ import absolute_import, print_function, division
  import sys
  import numpy
  from unittest import TestCase
  from nose.plugins.skip import SkipTest
  import theano
  import theano.tensor
  from theano.tensor.blas_c import CGer
  from theano.tensor.blas_scipy import ScipyGer
  from theano.tensor.blas import Ger
  from theano.tensor.blas_c import CGemv
  from theano.tensor.blas import Gemv
  from theano.tensor.blas_c import check_force_gemv_init
  from theano.tests import unittest_tools
  from theano.tests.unittest_tools import TestOptimizationMixin
  from theano.tensor.tests.test_blas import BaseGemv, TestBlasStrides
label_desc: Use image node_id 2 for calling the TestCGemv obj's underlying member method code with example usage: obj.test_nan_beta_0() without return types