code: def testVerifyTensorAllFiniteSucceeds(self):
      x_shape = [5, 4]
      x = np.random.random_sample(x_shape).astype(np.float32)
      with test_util.use_gpu():
          t = constant_op.constant(
              x, shape=x_shape, dtype=dtypes.float32
          )
          t_verified = numerics.verify_tensor_all_finite(
              t, "Input is not a number."
          )
          self.assertAllClose(x, self.evaluate(t_verified))
  
imports: import numpy
  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 cond
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import numerics
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the VerifyTensorAllFiniteTest obj's underlying member method code with example usage: obj.testVerifyTensorAllFiniteSucceeds() without return types