code: def __init__(self, inputs, output, partition_num):
      self.inputs = inputs
      self.output = os.path.realpath(output)
      self.node_type_info = {"sparse": 0, "dense": 0, "binary": 0}
      self.edge_type_info = {"sparse": 0, "dense": 0, "binary": 0}
      self.gmeta = GraphMeta("graph", "2.0")
      self.gmeta.partition_num = int(partition_num)
  
file_path: euler/euler/tools/json2meta.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import json
  import glob
  import os
  import shutil
  from euler.tools.util import *
  from euler.tools.graph_meta import GraphMeta
label_desc: Use image node_id 1 to create a new Generator object from inherited base classes: object with example: obj = Generator(inputs, output, partition_num)