You can do
[n.name for n in tf.get_default_graph().as_graph_def().node]
Also, if you are prototyping in an IPython notebook, you can show the graph directly in notebook, see show_graph
function in Alexander’s Deep Dream notebook
More Related Contents:
- TensorFlow 2.0 Keras: How to write image summaries for TensorBoard
- How do you read Tensorboard files programmatically?
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- How to tell if tensorflow is using gpu acceleration from inside python shell?
- Using a pre-trained word embedding (word2vec or Glove) in TensorFlow
- Tensorflow – ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type float)
- What is the difference between ‘SAME’ and ‘VALID’ padding in tf.nn.max_pool of tensorflow?
- Could not find a version that satisfies the requirement tensorflow
- Tensorflow read images with labels
- TensorFlow version 1.0.0-rc2 on Windows: “OpKernel (‘op: “BestSplits” device_type: “CPU”‘) for unknown op: BestSplits” with test code
- Difference between Variable and get_variable in TensorFlow
- Tensorflow: How to get a tensor by name?
- TypeError: __array__() takes 1 positional argument but 2 were given (Image classification Keras)
- Tensorflow 2.0 – AttributeError: module ‘tensorflow’ has no attribute ‘Session’
- “zsh: illegal hardware instruction python” when installing Tensorflow on macbook pro M1 [duplicate]
- Illegal instruction (core dumped) after running import tensorflow
- ‘Library not loaded: @rpath/libcudart.7.5.dylib’ TensorFlow Error on Mac
- Why is Tensorflow not recognizing my GPU after conda install?
- How do I check if keras is using gpu version of tensorflow?
- How to set layer-wise learning rate in Tensorflow?
- Tensorflow : logits and labels must have the same first dimension
- Cartesian Product in Tensorflow
- How to solve “AttributeError: module ‘google.protobuf.descriptor’ has no attribute ‘_internal_create_key”?
- Unexpected keyword argument ‘ragged’ in Keras
- Tensorflow and Multiprocessing: Passing Sessions
- Sparse Tensor (matrix) from a dense Tensor Tensorflow
- how to convert numpy to tfrecords and then generate batches?
- How to fix ipykernel_launcher.py: error: unrecognized arguments in jupyter?
- TensorFlow, “‘module’ object has no attribute ‘placeholder'”
- How to prefetch data using a custom python function in tensorflow