code: def _read_value_nest(variables):
      return tf.nest.map_structure(
          lambda variable: variable.read_value(), variables
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import gin
  import tensorflow
  from tf_agents.bandits.environments import bandit_tf_environment
  from tf_agents.trajectories import time_step
  from tf_agents.typing import types
  from tf_agents.utils import common
label_desc: Use image node_id 3 for calling a global function with example usage: _read_value_nest(variables) and returns: tf