class_docstr: Base Graph Model
class_docstr_tok: ["Base","Graph","Model"]
code: def __init__(self, args, graph_wrapper=None):
      self.hidden_size = args.hidden_size
      self.num_nodes = args.num_nodes
      self.drop_rate = args.drop_rate
      node_feature = [("feat", [None, 128], "float32")]
      if graph_wrapper is None:
          self.graph_wrapper = GraphWrapper(
              name="graph", place=F.CPUPlace(), node_feat=node_feature
          )
      else:
          self.graph_wrapper = graph_wrapper
      self.build_model(args)
  
imports: import os
  import re
  import time
  from random import random
  from functools import reduce, partial
  import numpy
  import multiprocessing
  import paddle
  import paddle.fluid
  import paddle.fluid
  import paddle.fluid.layers
  from pgl.graph_wrapper import GraphWrapper
  from pgl.layers.conv import gcn, gat
  from pgl.utils import paddle_helper
label_desc: Use image node_id 1 to create a new BaseGraph object from inherited base classes: object with example: obj = BaseGraph(args, graph_wrapper)