code: def finite_ground_truth_only():
      # Recognizing the error message from python/internal/numerics_testing.py
      pat = "Cannot check accuracy if ground truth or derivatives are not finite"
      try:
          yield
      except tf.errors.InvalidArgumentError as e:
          msg = str(e)
          if re.search(pat, msg):
              # Tried an input regime where the 64-bit computation produced a
              # non-finite value or gradient
              hp.assume(False)
          else:
              raise
  
imports: import contextlib
  import os
  import re
  import traceback
  import unittest
  import hypothesis
  from hypothesis.extra import numpy
  import hypothesis.strategies
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.util.deferred_tensor import DeferredTensor
label_desc: Use image node_id 33 for calling a global function with example usage: finite_ground_truth_only() without return types