code: def suff_stat_nodes(subgraph, node, stop_nodes):
      """Finds nonlinear nodes depending on `node`."""
      if subgraph[0] == node:
          return (node,)
      elif len(subgraph) == 1:
          return ()
      op_type = str(subgraph[0].op.type)
      if op_type in _linear_types:
          result = []
          stop_index = _n_important_args.get(op_type, None)
          stop_index = (
              stop_index + 1 if stop_index is not None else None
          )
          for input in subgraph[1:stop_index]:
              result += suff_stat_nodes(input, node, stop_nodes)
          return tuple(result)
      else:
          if is_child(subgraph, node, stop_nodes):
              return (subgraph[0],)
          else:
              return ()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import edward.inferences.conjugacy.conjugate_log_probs
  import numpy
  import six
  import tensorflow
  import time
  from collections import defaultdict
  from edward.inferences.conjugacy.simplify import symbolic_suff_stat, full_simplify, expr_contains, reconstruct_expr
  from edward.models.random_variables import *
  from edward.util import copy, get_blanket
label_desc: Use image node_id 10 for calling a global function with example usage: suff_stat_nodes(subgraph, node, stop_nodes) and returns: node, tuple, , subgraph, 