code: def create_instance(instance_name, cpu=1, mem=4):
      tf.logging.info("Creating instance %s", instance_name)
      out = cloud.shell_output(
          CREATE_INSTANCE, instance_name=instance_name, cpu=cpu, mem=mem
      )
      return out.split("\n")[1:-1][0].split()[8]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import multiprocessing
  import os
  import socket
  import subprocess
  import time
  from tensor2tensor.utils import cloud_mlengine
  import tensorflow.compat.v1
label_desc: Use image node_id 5 for calling a global function with example usage: create_instance(instance_name, cpu, mem) and returns: out