fork download
  1. import tensorflow.compat.v1 as tf
  2. tf.disable_v2_behavior()
  3.  
  4. graph=tf.get_default_graph()
  5. graph.get_operations()
  6.  
  7. sess=tf.Session()
  8.  
  9.  
Success #stdin #stdout #stderr 1.06s 198944KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/python/compat/compat.py:175: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term