code: def create_random_seq(
      character, action_metadata, direction, length=8
  ):
      """Creates a random sequence."""
      start = tf.random.uniform(
          [], maxval=action_metadata[1], dtype=tf.int32
      )
      return create_seq(
          character, action_metadata, direction, length, start
      )
  
file_path: probability/tensorflow_probability/examples/sprites_dataset.py
imports: from collections import namedtuple
  import os
  import random
  import zipfile
  from absl import flags
  from six.moves import urllib
  import tensorflow.compat.v1
  from tensorflow.python.ops import lookup_ops
label_desc: Use image node_id 6 for calling a global function with example usage: create_random_seq(character, action_metadata, direction, length) and returns: create_seq