code: def reset_graph():
      """Closes the current default session and resets the graph."""
      sess = tf.get_default_session()
      if sess:
          sess.close()
      tf.reset_default_graph()
  
imports: import json
  import os
  import time
  import zipfile
  from magenta.models.sketch_rnn import model
  from magenta.models.sketch_rnn import utils
  import numpy
  import requests
  import six
  from six.moves.urllib.request import urlretrieve
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: reset_graph() without return types