code: def assert_finite(array):
      if not np.isfinite(array).all():
          raise AssertionError(
              "array was not all finite. %s" % array[:15]
          )
  
file_path: tensorflow/tensorflow/python/ops/distributions/bijector_test_util.py
imports: import numpy
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.distributions import uniform
label_desc: Use image node_id 1 for calling a global function with example usage: assert_finite(array) without return types