parameters: (self, current_node, recursive=False)
return_statement: return graph_inputs
docstring: Find graph inputs that linked to current node.
docstring_summary: Find graph inputs that linked to current node.
docstring_tokens: Find graph inputs that linked to current node .
function: def get_graph_inputs(self, current_node, recursive=False):
          """
          Find graph inputs that linked to current node.
          """
          graph_inputs = []
          for input in current_node.input:
              if self.find_graph_input(input) and input not in graph_inputs:
                  graph_inputs.append(input)
  
          if recursive:
              parent_nodes = self.get_parent_subgraph_nodes(current_node, [])
              for node in parent_nodes:
                  for input in node.input:
                      if self.find_graph_input(input) and input not in graph_inputs:
                          graph_inputs.append(input)
          return graph_inputs
function_tokens: def get_graph_inputs ( self , current_node , recursive = False ) : graph_inputs = [ ] for input in current_node . input : if self . find_graph_input ( input ) and input not in graph_inputs : graph_inputs . append ( input ) if recursive : parent_nodes = self . get_parent_subgraph_nodes ( current_node , [ ] ) for node in parent_nodes : for input in node . input : if self . find_graph_input ( input ) and input not in graph_inputs : graph_inputs . append ( input ) return graph_inputs