code: def dump_pytorch_graph(graph):
      """List all the nodes in a PyTorch graph."""
      f = "{:25} {:40}   {} -> {}"
      print(f.format("kind", "scopeName", "inputs", "outputs"))
      for node in graph.nodes():
          print(
              f.format(
                  node.kind(),
                  node.scopeName(),
                  [i.unique() for i in node.inputs()],
                  [i.unique() for i in node.outputs()],
              )
          )
  
file_path: tensorwatch/tensorwatch/model_graph/hiddenlayer/pytorch_builder.py
imports: from __future__ import absolute_import, division, print_function
  import re
  from .graph import Graph, Node
  from .None import transforms
  import torch
  from collections import abc
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: dump_pytorch_graph(graph) without return types