code: def _get_field(kernel_results, field_name):
      try:
          return unnest.get_innermost(kernel_results, field_name)
      except AttributeError:
          msg = _kernel_result_not_implemented_message_template.format(
              kernel_results, field_name
          )
          raise REMCFieldNotFoundError(msg)
  
imports: import collections
  import warnings
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import broadcast_util
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import unnest
  from tensorflow_probability.python.mcmc import kernel
  from tensorflow_probability.python.mcmc.internal import util
label_desc: Use image node_id 10 for calling a global function with example usage: _get_field(kernel_results, field_name) and returns: unnest