tf list tensors code example Example: tensorflow all nodes [n.name for n in tf.get_default_graph().as_graph_def().node]