code: def testInfinite(self):
      # Check that the op does not loop forever on infinite inputs. (b/158433036)
      in_tensor = [[np.inf, 1.0], [1.0, 1.0]]
      result = self.evaluate(linalg_impl.matrix_exponential(in_tensor))
      self.assertTrue(np.all(np.isnan(result)))
  
imports: import itertools
  import numpy
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  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 random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg_impl
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the ExponentialOpTest obj's underlying member method code with example usage: obj.testInfinite() without return types