code: def __init__(self, pred):
      self.funcs = []
      self.inputs = []
      self.outputs = []
      self.variable_to_funcs = defaultdict(list)
  
      functor = GraphInfo.Functor(
          self.funcs, self.inputs, self.outputs, self.variable_to_funcs
      )
      pred.visit(functor)
  
file_path: nnabla/python/test/utils/test_graph_converters/graph_converter_test_utils.py
imports: import os
  import numpy
  import nnabla.functions
  import nnabla.parametric_functions
  import nnabla
  import nnabla.communicators
  from configparser import ConfigParser
  from collections import defaultdict
  from nnabla.ext_utils import get_extension_context
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 1 to create a new GraphInfo object from inherited base classes: object with example: obj = GraphInfo(pred)