code: def format_text(words):
      """Convert a sequence words into sentence."""
      if not hasattr(
          words, "__len__"
      ) and not isinstance(  # for numpy array
          words, collections.Iterable
      ):
          words = [words]
      return b" ".join(words)
  
imports: from __future__ import print_function
  import codecs
  import collections
  import json
  import math
  import os
  import sys
  import time
  from distutils import version
  import tensorflow
label_desc: Use image node_id 12 for calling a global function with example usage: format_text(words) and returns: bytes