code: def DISABLED_testBadInputs(self):
      # TODO(b/185822300): re-enable after the bug is fixed in CUDA-11.x
      # The input to svd should be a tensor of at least rank 2.
      for bad_val in [np.nan, np.inf]:
          matrix = np.array([[1, bad_val], [0, 1]])
          s, u, v = linalg_ops.svd(matrix, compute_uv=True)
          s, u, v = self.evaluate([s, u, v])
          for i in range(2):
              self.assertTrue(np.isnan(s[i]))
              for j in range(2):
                  self.assertTrue(np.isnan(u[i, j]))
                  self.assertTrue(np.isnan(v[i, j]))
  
imports: import numpy
  from tensorflow.python.client import session
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors_impl
  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 control_flow_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import stateless_random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the SvdOpTest obj's underlying member method code with example usage: obj.DISABLED_testBadInputs() without return types