code: def create_gif(name):
      cmd = "convert -delay 15 {0}* {0}.gif".format(name)
      os.system(cmd)
  
file_path: tensor2tensor/tensor2tensor/utils/video2gif.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import numpy
  from tensor2tensor.bin import t2t_trainer
  from tensor2tensor.data_generators import problem
  from tensor2tensor.utils import decoding
  from tensor2tensor.utils import trainer_lib
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 1 for calling a global function with example usage: create_gif(name) without return types