docstr: Tests SVD on matrix of all zeros, +/-infinity or NaN.
docstr_tok: ["Tests","SVD","on","matrix","of","all","zeros",",","+\/-infinity","or","NaN","."]
code: def testSvdNonFiniteValues(
      self, m, n, fill_value, full_matrices, compute_uv, dtype
  ):
      """Tests SVD on matrix of all zeros, +/-infinity or NaN."""
      lax_fun = functools.partial(
          svd.svd, full_matrices=full_matrices, compute_uv=compute_uv
      )
      args_maker_svd = lambda: [
          jnp.full((m, n), fill_value=fill_value, dtype=dtype)
      ]
      result = lax_fun(args_maker_svd()[0])
      for r in result:
          self.assertTrue(jnp.all(jnp.isnan(r)))
      self._CompileAndCheck(lax_fun, args_maker_svd)
  
file_path: jax/tests/svd_test.py
imports: import functools
  import jax
  import jax.numpy
  import numpy
  import scipy.linalg
  from jax._src import config
  from jax._src import test_util
  from jax._src.lax import svd
  from absl.testing import absltest
label_desc: Use image node_id 7 for calling the SvdTest obj's underlying member method code with example usage: obj.testSvdNonFiniteValues(m, n, fill_value, full_matrices, compute_uv, dtype) without return types