class_docstr: A helper class to build consecutive ONNX nodes.
class_docstr_tok: ["A","helper","class","to","build","consecutive","ONNX","nodes","."]
docstr: Returns all nodes created so far.
  
  Args:
      output_names (list of str): The names of output values to be set at
          the last node.
  
  Returns:
      A list of `onnx.NodeProto` objects, suitable as the return
      value of converter functions.
docstr_tok: ["Returns","all","nodes","created","so","far",".","Args",":","output_names","(","list","of","str",")",":","The","names","of","output","values","to","be","set","at","the","last","node",".","Returns",":","A","list","of","`","onnx.NodeProto","`","objects",",","suitable","as","the","return","value","of","converter","functions","."]
code: def nodes(self, output_names=None):
      """Returns all nodes created so far.
  
      Args:
          output_names (list of str): The names of output values to be set at
              the last node.
  
      Returns:
          A list of `onnx.NodeProto` objects, suitable as the return
          value of converter functions.
      """
      if output_names is not None:
          assert len(self._nodes[-1].output) == len(output_names)
          self._nodes[-1].output[:] = output_names
      return tuple(self._nodes)
  
file_path: chainer/onnx_chainer/onnx_helper.py
imports: import onnx
label_desc: Use image node_id 5 for calling the GraphBuilder obj's underlying member method code with example usage: obj.nodes(output_names) and returns: tuple