code: def _rand_select(xs, seed=None):
      xs_list = list(xs)
      rand_n = tf.random_uniform(
          (), 0, len(xs_list), "int32", seed=seed
      )
      return tf.constant(xs_list)[rand_n]
  
file_path: lucid/lucid/optvis/transform.py
imports: import tensorflow
  import numpy
  import uuid
  from lucid.optvis import param
label_desc: Use image node_id 8 for calling a global function with example usage: _rand_select(xs, seed) and returns: tf