code: def id_generator(
      size=6, chars=string.ascii_uppercase + string.digits
  ):
      return "".join(random.choice(chars) for _ in range(size))
  
imports: from __future__ import division, print_function, absolute_import
  import six
  import string
  import random
  import numpy
  import tensorflow.compat.v1
  from tensorflow.python import pywrap_tensorflow
  import tflearn.variables
label_desc: Use image node_id 23 for calling a global function with example usage: id_generator(size, chars) and returns: str