code: def pprint(
      v,
      forward=False,
      backward=False,
      summary=False,
      hidden=False,
      printer=False,
  ):
      """
      Pretty print information of a graph from a root variable `v`.
  
      Note that in order to print the summary statistics, this function stores, i.e., does not reuse
      the intermediate buffers of a computation graph, increasing the memory usage
      if either the forward or backward is True.
  
      Args:
          v (:obj:`nnabla.Variable`): Root variable.
          forward (bool): Call the forward method of a variable `v`.
          backward (bool): Call the backward method of a variable `v`.
          summary (bool): Print statictis of a intermediate variable.
          hidden (bool): Store the intermediate input and output variables if True.
          printer (bool): Return the printer object if True.
  
      Example:
  
      .. code-block:: python
  
          pred = Model(...)
  
          from nnabla.utils.inspection import pprint
  
          pprint(pred, summary=True, forward=True, backward=True)
  
  
      """
      v.forward() if forward else None
      v.backward() if backward else None
      pprinter = PrettyPrinter(summary, hidden)
      v.visit(pprinter)
      return pprinter if printer else None
  
file_path: nnabla/python/src/nnabla/utils/inspection/pretty_print.py
imports: from __future__ import absolute_import
  import nnabla
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: pprint(v, forward, backward, summary, hidden, printer) and returns: unknown