code: def __init__(self, value, fun, args, kwargs, parent_argnums, parents):
      args = subvals(args, zip(parent_argnums, repeat(None)))
  
      def partial_fun(partial_args):
          return fun(
              *subvals(args, zip(parent_argnums, partial_args)),
              **kwargs,
          )
  
      self.parents = parents
      self.partial_fun = partial_fun
  
file_path: autograd/autograd/misc/tracers.py
imports: from itertools import repeat
  from autograd.wrap_util import wraps
  from autograd.util import subvals, toposort
  from autograd.tracer import trace, Node
  from functools import partial
label_desc: Use image node_id 1 to create a new ConstGraphNode object from inherited base classes: Node with example: obj = ConstGraphNode(value, fun, args, kwargs, parent_argnums, parents)