code: def _assign_variable_nest(variables, values):
      return tf.nest.map_structure(
          lambda variable, value: variable.assign(value),
          variables,
          values,
      )
  
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 2 for calling a global function with example usage: _assign_variable_nest(variables, values) and returns: tf