code: def _drive_coroutine(gen, values):
      """Iterates through a coroutine while feeding it values."""
      next(gen)
      for value in values:
          try:
              gen.send(value)
          except StopIteration as e:
              return e.value
  
imports: import collections
  import tensorflow.compat.v2
  import tensorflow_probability
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import prefer_static
  from inference_gym.internal import data
  from inference_gym.targets import bayesian_model
  from inference_gym.targets import model
  from inference_gym.targets.ground_truth import stochastic_volatility_log_sp500
  from inference_gym.targets.ground_truth import stochastic_volatility_log_sp500_small
  from inference_gym.targets.ground_truth import stochastic_volatility_sp500
  from inference_gym.targets.ground_truth import stochastic_volatility_sp500_small
label_desc: Use image node_id 3 for calling a global function with example usage: _drive_coroutine(gen, values) and returns: e