parameters: (self)
return_statement: return nodes
docstring: create graph nodes
docstring_summary: create graph nodes
docstring_tokens: create graph nodes
function: def create_nodes(self):
          """
          create graph nodes
          """
          nodes = []
          exec_count = 0
          for node_proto in self.graph_proto.nodes:
              inner_data = CreateJson(id=node_proto.name,
                                                              name=node_proto.Op.name,
                                                              exec_count=exec_count,
                                                              lane=node_proto.lane, # addition for optimization
                                                              need_wait=node_proto.need_wait) # addition for optimization
              exec_count = exec_count + 1
              node = CreateJson(data=inner_data())
              nodes.append(node())
          return nodes
function_tokens: def create_nodes ( self ) : nodes = [ ] exec_count = 0 for node_proto in self . graph_proto . nodes : inner_data = CreateJson ( id = node_proto . name , name = node_proto . Op . name , exec_count = exec_count , lane = node_proto . lane , # addition for optimization need_wait = node_proto . need_wait ) # addition for optimization exec_count = exec_count + 1 node = CreateJson ( data = inner_data ( ) ) nodes . append ( node ( ) ) return nodes